Skip to content
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

bpo-46841: Fix error message hacks in GET_AWAITABLE #31664

Merged
merged 4 commits into from
Mar 4, 2022

Conversation

brandtbucher
Copy link
Member

@brandtbucher brandtbucher commented Mar 3, 2022

The existing code was already quite sensitive to small changes in the compiler, but it is also now technically incorrect (due to the recent addition of inline bytecode caches).

We have all the context we need in the compiler, so a normal oparg can be used as a much simpler mechanism for achieving the same effect.

https://bugs.python.org/issue46841

@markshannon
Copy link
Member

👍 to one less hack in the async/await implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants