[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

Serhiy Storchaka report at bugs.python.org
Fri Mar 20 07:18:30 CET 2015


Serhiy Storchaka added the comment:

Following patch fixes the issue, but I don't understand why.

----------
Added file: http://bugs.python.org/file38586/tempfile_iter_fix.patch

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


More information about the Python-bugs-list mailing list