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

Terry J. Reedy report at bugs.python.org
Fri Feb 19 23:05:46 EST 2016


Terry J. Reedy added the comment:

It makes it clearer that you know that it will 'everything' and intend to catch do so and that you did not casually toss in 'except:', as used to be the habit of many.  There are over 20 bare excepts in idlelib and I suspect many or most are unintentionally over-broad.

----------

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


More information about the Python-bugs-list mailing list