Skip to content

bpo-46845: Move check for str-only keys in LOAD_GLOBAL to specialization time. #31659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Mar 3, 2022

#31564 added some tests to the fast path of LOAD_GLOBAL_MODULE and LOAD_GLOBAL_BUILTIN.
This PR moves those tests to specialization time.
The success rate for specialization of LOAD_GLOBAL remains at 100%.

https://bugs.python.org/issue46845

@markshannon markshannon merged commit b356035 into python:main Mar 3, 2022
@markshannon markshannon deleted the tighten-up-load-global-specialization branch September 26, 2023 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants