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 serhiy.storchaka
Recipients Brock Mendel, josh.r, serhiy.storchaka, xtreak
Date 2019-12-05.05:26:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575523610.78.0.402137429152.issue38971@roundup.psfhosted.org>
In-reply-to
Content
Many reasons.

1. It is simpler.
2. We will need a try/except in any case to prevent a leak if an exception be raised by other code following open().
3. It matches the behavior of io.open().
History
Date User Action Args
2019-12-05 05:26:50serhiy.storchakasetrecipients: + serhiy.storchaka, josh.r, xtreak, Brock Mendel
2019-12-05 05:26:50serhiy.storchakasetmessageid: <1575523610.78.0.402137429152.issue38971@roundup.psfhosted.org>
2019-12-05 05:26:50serhiy.storchakalinkissue38971 messages
2019-12-05 05:26:50serhiy.storchakacreate