STINNER Victor <[email protected]> added the comment:
I made a similar change in _PyDict_GetItemHint(): commit d5fc99873769f0d0d5c5d5d99059177a75a4e46e (HEAD -> master, upstream/master) Author: Victor Stinner <[email protected]> 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. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue40839> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
