-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
GH-109190: Copyedit 3.12 What's New: Bytecode #109821
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
Changes from 4 commits
0185210
a4c1d22
d755483
d6384a2
4bd178d
6ddc852
c29a5bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -336,7 +336,7 @@ This means that you only pay for what you use, providing support | |
for near-zero overhead debuggers and coverage tools. | ||
See :mod:`sys.monitoring` for details. | ||
|
||
(Contributed by Mark Shannon in :gh:`103083`.) | ||
(Contributed by Mark Shannon in :gh:`103082`.) | ||
|
||
New Features Related to Type Hints | ||
================================== | ||
|
@@ -638,6 +638,9 @@ dis | |
:data:`dis.hasarg` collection instead. | ||
(Contributed by Irit Katriel in :gh:`94216`.) | ||
|
||
* Add the :data:`dis.hasexc` collection to signify instructions that set | ||
an exception handler. (Contributed by Irit Katriel in :gh:`94216`.) | ||
|
||
fractions | ||
--------- | ||
|
||
|
@@ -821,6 +824,10 @@ statistics | |
sys | ||
--- | ||
|
||
* Add the :mod:`sys.monitoring` namespace to expose the new :ref:`PEP 669 | ||
<whatsnew312-pep669>` monitoring API. | ||
(Contributed by Mark Shannon in :gh:`103082`.) | ||
|
||
* Add :func:`sys.activate_stack_trampoline` and | ||
:func:`sys.deactivate_stack_trampoline` for activating and deactivating | ||
stack profiler trampolines, | ||
|
@@ -1020,9 +1027,27 @@ CPython bytecode changes | |
* Removed the :opcode:`!PRECALL` instruction. (Contributed by Mark Shannon in | ||
:gh:`92925`.) | ||
|
||
* Add the :opcode:`BINARY_SLICE` and :opcode:`STORE_SLICE` instructions. | ||
(Contributed by Mark Shannon in :gh:`94163`.) | ||
|
||
* Add the :opcode:`!CALL_INSTRINSIC_1` instructions. | ||
(Contributed by Mark Shannon in :gh:`99005`.) | ||
|
||
* Add the :opcode:`!CALL_INSTRINSIC_2` instruction. | ||
(Contributed by Irit Katriel in :gh:`101799`.) | ||
|
||
* Add the :opcode:`CLEANUP_THROW` instruction. | ||
(Contributed by Brandt Bucher in :gh:`90997`.) | ||
|
||
* Add the :opcode:`!END_SEND` instruction. | ||
(Contributed by Mark Shannon in :gh:`103082`.) | ||
|
||
* Add the :opcode:`LOAD_FAST_AND_CLEAR` instruction as part of the | ||
implementation of :pep:`709`. (Contributed by Carl Meyer in :gh:`101441`.) | ||
|
||
* Add the :opcode:`LOAD_FAST_CHECK` instruction. | ||
(Contributed by Dennis Sweeney in :gh:`93143`.) | ||
|
||
* Add the :opcode:`LOAD_FROM_DICT_OR_DEREF`, :opcode:`LOAD_FROM_DICT_OR_GLOBALS`, | ||
and :opcode:`LOAD_LOCALS` opcodes as part of the implementation of :pep:`695`. | ||
Remove the :opcode:`!LOAD_CLASSDEREF` opcode, which can be replaced with | ||
|
@@ -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 commentThe 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 commentThe 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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. Thank you!
hugovk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Demos and Tools | ||
=============== | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.