[issue28867] NamedTemporaryFile does not generate a ResourceWarning for unclosed files (unlike TemporaryFile)

Jon Dufresne report at bugs.python.org
Wed Dec 7 10:52:09 EST 2016


Jon Dufresne added the comment:

Thanks for the review. I have updated the patch. Now all warnings during tests handled. Please let me know if there are any other concerns with the changes.

----------
Added file: http://bugs.python.org/file45789/namedtemporaryfile-resourcewarning-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28867>
_______________________________________


More information about the Python-bugs-list mailing list