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 vstinner
Recipients eric.snow, ncoghlan, vstinner
Date 2021-02-21.11:08:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613905693.73.0.587947932943.issue40839@roundup.psfhosted.org>
In-reply-to
Content
I made a similar change in _PyDict_GetItemHint():

commit d5fc99873769f0d0d5c5d5d99059177a75a4e46e (HEAD -> master, upstream/master)
Author: Victor Stinner <vstinner@python.org>
Date:   Sun Feb 21 12:02:04 2021 +0100

    bpo-42093: Cleanup _PyDict_GetItemHint() (GH-24582)
    
    * No longer save/restore the current exception. It is no longer used
      with an exception raised.
    * No longer clear the current exception on error: it's now up to the
      caller.
History
Date User Action Args
2021-02-21 11:08:13vstinnersetrecipients: + vstinner, ncoghlan, eric.snow
2021-02-21 11:08:13vstinnersetmessageid: <1613905693.73.0.587947932943.issue40839@roundup.psfhosted.org>
2021-02-21 11:08:13vstinnerlinkissue40839 messages
2021-02-21 11:08:13vstinnercreate