[Python-Dev] Resource leaks warnings (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Wed Sep 29 23:25:54 CEST 2010


On Wed, Sep 29, 2010 at 11:40 PM, Barry Warsaw <barry at python.org> wrote:

I don't think it should be in the gc module, but I would prefer it be enabled and controlled through a separate module, rather than something Python does automatically for your convenience.

The os module would seem to be the place to enable/disable tracking of OS level resource leaks (i.e. file descriptors and possible HANDLES on Windows).

I'm not sure how practical this idea will prove to implement though.

Cheers, Nick.

-- Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-Dev mailing list