[issue18879] tempfile.NamedTemporaryFile can close the file too early, if not assigning to a variablwe

Christian Theune report at bugs.python.org
Wed Apr 16 19:26:02 CEST 2014


Christian Theune added the comment:

#15002 uses this patch to fix a similar wrapping problem in urllib.

Also, this affects 2.7 as well and #15002 does report the problem for 2.7. I'd like to get this fix backported. Would that be OK?

----------
nosy: +ctheune
title: tempfile.NamedTemporaryFile can close the file too early, if not assigning to a variable -> tempfile.NamedTemporaryFile can close the file too early, if not assigning to a variablwe
versions: +Python 2.7, Python 3.5 -Python 3.3

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


More information about the Python-bugs-list mailing list