coqpit
coqpit copied to clipboard
Allow file-like objects when saving and loading
Replaces #15 which was reverted. Fixes the incompatibility with python 3.6 by using a regular contextmanager instead of nullcontext.
@erogol not sure if this is still interesting, but here's a simple fix to the nullcontext incompatibility.
Sorry I have no idea what happened here, tried to do things directly from the online editor. I'll clean this up.