Albert Zeyer <alb...@googlemail.com> added the comment:

Why is `except BaseException` better than `except Exception` here? With `except 
Exception`, you will never run into the problem of possibly closing the fd 
twice. This is the main important thing which we want to fix here. This is more 
important than missing maybe to close it at all, or unlink it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to