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

Dirkjan Ochtman dirkjan at ochtman.nl
Wed Sep 29 14:34:33 CEST 2010


On Wed, Sep 29, 2010 at 14:27, Benjamin Peterson <benjamin at python.org> wrote:

It seems like a slippery slope. Sometimes you really don't care like when you're just hacking together a quick script.

Yeah, I often don't close files in scripts that I know are short running or only ever open one or two files, and I don't think I should be warned about that.

Cheers,

Dirkjan



More information about the Python-Dev mailing list