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 cmeyer, ncoghlan, serhiy.storchaka, shihai1991, vstinner
Date 2020-11-24.07:48:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606204115.93.0.638334763215.issue42260@roundup.psfhosted.org>
In-reply-to
Content
Please don't use PyDict_GetItemString(), it will be deprecated. You can use _PyDict_GetItemStringWithError().

Also always check the raised exception type before overwriting the exception, so you will not swallow MemoryError or other unexpected error.
History
Date User Action Args
2020-11-24 07:48:35serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, vstinner, cmeyer, shihai1991
2020-11-24 07:48:35serhiy.storchakasetmessageid: <1606204115.93.0.638334763215.issue42260@roundup.psfhosted.org>
2020-11-24 07:48:35serhiy.storchakalinkissue42260 messages
2020-11-24 07:48:35serhiy.storchakacreate