This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients georg.brandl, jort.bloem, jstasiak, meador.inge, ncoghlan, r.david.murray, serhiy.storchaka, vstinner
Date 2013-09-05.19:58:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378411126.66.0.574492411353.issue18879@psf.upfronthosting.co.za>
In-reply-to
Content
> The monkey-patched version breaks the auto-close on __del__ feature:

Files were closed. Just with a warning. I consider this as an enhancement. If you don't close file explicitly you will get a leak on non-refcounted Python implementations. It's true for both ordinal files so tempfiles. Perhaps we should add a warning in any __del__ method (even if we will commit Jakub's patch, this way LGTM too).
History
Date User Action Args
2013-09-05 19:58:46serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, ncoghlan, vstinner, r.david.murray, meador.inge, jort.bloem, jstasiak
2013-09-05 19:58:46serhiy.storchakasetmessageid: <1378411126.66.0.574492411353.issue18879@psf.upfronthosting.co.za>
2013-09-05 19:58:46serhiy.storchakalinkissue18879 messages
2013-09-05 19:58:46serhiy.storchakacreate