[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator
STINNER Victor
report at bugs.python.org
Fri Mar 20 08:24:05 CET 2015
STINNER Victor added the comment:
Maybe we need to keep explicitly a reference to self.file in the method
(file = self.file) to keep it alive in the frame?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23700>
_______________________________________
More information about the Python-bugs-list
mailing list