-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
GH-109190: Copyedit 3.12 What's New: Bytecode #109821
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch on the INTRINSIC
typo :)
Let's merge, we can update later if END_SEND
is ever documented (via #107457).
Doc/whatsnew/3.12.rst
Outdated
@@ -1032,6 +1057,8 @@ CPython bytecode changes | |||
* Add the :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer and | |||
Vladimir Matveev in :gh:`103497`.) | |||
|
|||
* Add the :opcode:`RETURN_CONST` instruction. (:gh:`101632`.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@penguin-wwy please could we check how you'd like to be credited for this change? (I have a slight preference against using usernames in the documentation!)
A
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tanks, if possible, then just use Wenyang Wang.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
# Conflicts: # Doc/whatsnew/3.12.rst
Thanks @AA-Turner for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @AA-Turner and @hugovk, I could not cleanly backport this to |
GH-110047 is a backport of this pull request to the 3.12 branch. |
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
FOR_ITER's new behaviour; the changes to the POP_JUMP_IF_* family of instructions; and the
YIELD_VALUE change
sys.monitoring
wasn't covered in "improved modules", so I've added that as it's somewhat related📚 Documentation preview 📚: https://cpython-previews--109821.org.readthedocs.build/en/109821/whatsnew/3.12.html