[issue26385] the call of tempfile.NamedTemporaryFile fails and leaves a file on the disk
STINNER Victor
report at bugs.python.org
Fri Feb 19 03:30:12 EST 2016
STINNER Victor added the comment:
> I wonder if Victor could clarify why bare except wasn't used in the python3 version.
What do you call a "bare except"?
I wrote "except Exception: <cleanup code>; raise", it doesn't ignore the error. I want to always call the cleanup code on error.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26385>
_______________________________________
More information about the Python-bugs-list
mailing list