[issue26385] the call of tempfile.NamedTemporaryFile fails and leaves a file on the disk

SilentGhost report at bugs.python.org
Sun Feb 21 03:28:09 EST 2016


SilentGhost added the comment:

Then, I think the TypeError check could be dropped and 'wr' replaced by an obviously wrong value, both seem fairly trivial. I don't have a working 2.7 checkout, so if anyone wants to extend the fix to that branch, they're more than welcome.

----------

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


More information about the Python-bugs-list mailing list