[Python-ideas] Hooks into the IO system to intercept raw file reads/writes
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Feb 4 21:21:07 CET 2015
Paul Moore wrote:
> ... found it. You need loop.close() at the end. Maybe the loop object
> should close itself in the __del__ method, like file objects?
Yeah, this looks like a bug -- I didn't notice anything
in the docs about it being mandatory to close() a loop
when you're finished with it, and such a requirement
seems rather unpythonic.
--
Greg
More information about the Python-ideas
mailing list