Skip to content

gh-111789: Simplify bytecodes.c by using PyDict_GetItemRef() - #111978

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:use-dict_getitemref-bytecodes
Nov 14, 2023
Merged

serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:use-dict_getitemref-bytecodes

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Nov 11, 2023 •

Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice usage of the new PyMapping_GetOptionalItem().

@serhiy-storchaka
serhiy-storchaka merged commit b11c443 into python:main Nov 14, 2023
@serhiy-storchaka
serhiy-storchaka deleted the use-dict_getitemref-bytecodes branch November 14, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants