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

gh-111789: Simplify bytecodes.c by using PyDict_GetItemRef()#111978
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:use-dict_getitemref-bytecodes

Conversation

@serhiy-storchaka

@serhiy-storchakaserhiy-storchaka commented Nov 11, 2023

Copy link
Copy Markdown
Member

@vstinnervstinner 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:mainNov 14, 2023
@serhiy-storchaka
serhiy-storchaka deleted the use-dict_getitemref-bytecodes branch November 14, 2023 13:38
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@serhiy-storchaka@vstinner