[Python-Dev] Fwd: Removal of GIL through refcounting removal.

Eric Smith eric at trueblade.com
Mon Nov 3 01:45:15 CET 2008


skip at pobox.com wrote:
>     Eric> I consider it a bug to rely on reference counting to close files,
> 
> We can mostly have our cake and eat it too using the "with" statement.  In
> most cases it should be sufficient I would think.

True, and I meant to mention that. But unfortunately, my work projects 
are stuck on 2.4 for the time being, so that doesn't help me much.

Eric.


More information about the Python-Dev mailing list