bpo-42093: Cleanup _PyDict_GetItemHint() (GH-24582) · python/cpython@d5fc998 · GitHub
Skip to content

Commit d5fc998

Browse files
authored
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.
1 parent 38b6c2a commit d5fc998

2 files changed

Lines changed: 20 additions & 36 deletions

File tree

Objects/dictobject.c

Lines changed: 4 additions & 31 deletions

Python/ceval.c

Lines changed: 16 additions & 5 deletions

0 commit comments

Comments
 (0)