This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Albert.Zeyer
Recipients Albert.Zeyer, Seth.Troisi, hitbox, joernheissler, nedbat, nneonneo, sanjioh, serhiy.storchaka
Date 2020-01-14.09:13:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578993180.88.0.960212400019.issue39318@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-01-14 09:13:00Albert.Zeyersetrecipients: + Albert.Zeyer, nneonneo, nedbat, Seth.Troisi, serhiy.storchaka, sanjioh, joernheissler, hitbox
2020-01-14 09:13:00Albert.Zeyersetmessageid: <1578993180.88.0.960212400019.issue39318@roundup.psfhosted.org>
2020-01-14 09:13:00Albert.Zeyerlinkissue39318 messages
2020-01-14 09:13:00Albert.Zeyercreate