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 kj, miss-islington, serhiy.storchaka
Date 2021-06-23.09:44:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624441452.0.0.728976385655.issue44483@roundup.psfhosted.org>
In-reply-to
Content
Yes, Checking each result individually is a right way. Not only because performance, but because calling any Python code while an error is set will cause a crash in debug build and weird bugs in release build. It is better to return as fast as you have an error.

Thank you for your PR Ken Jin.
History
Date User Action Args
2021-06-23 09:44:12serhiy.storchakasetrecipients: + serhiy.storchaka, miss-islington, kj
2021-06-23 09:44:12serhiy.storchakasetmessageid: <1624441452.0.0.728976385655.issue44483@roundup.psfhosted.org>
2021-06-23 09:44:11serhiy.storchakalinkissue44483 messages
2021-06-23 09:44:11serhiy.storchakacreate