File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -1979,7 +1979,7 @@ Other Improvements
1979
1979
now works correctly (previously it silently returned the first python
1980
1980
module in the file). (Contributed by Václav Šmilauer in :issue: `16421 `.)
1981
1981
1982
- * A new opcode, :opcode: `LOAD_CLASSDEREF `, has been added to fix a bug in the
1982
+ * A new opcode, :opcode: `! LOAD_CLASSDEREF `, has been added to fix a bug in the
1983
1983
loading of free variables in class bodies that could be triggered by certain
1984
1984
uses of :ref: `__prepare__ <prepare >`. (Contributed by Benjamin Peterson in
1985
1985
:issue: `17853 `.)
Original file line number Diff line number Diff line change @@ -2377,16 +2377,16 @@ There have been several major changes to the :term:`bytecode` in Python 3.6.
2377
2377
2378
2378
* The function call opcodes have been heavily reworked for better performance
2379
2379
and simpler implementation.
2380
- The :opcode: `MAKE_FUNCTION `, :opcode: `CALL_FUNCTION `,
2381
- :opcode: `CALL_FUNCTION_KW ` and :opcode: `BUILD_MAP_UNPACK_WITH_CALL ` opcodes
2380
+ The :opcode: `MAKE_FUNCTION `, :opcode: `! CALL_FUNCTION `,
2381
+ :opcode: `! CALL_FUNCTION_KW ` and :opcode: `! BUILD_MAP_UNPACK_WITH_CALL ` opcodes
2382
2382
have been modified, the new :opcode: `CALL_FUNCTION_EX ` and
2383
- :opcode: `BUILD_TUPLE_UNPACK_WITH_CALL ` have been added, and
2383
+ :opcode: `! BUILD_TUPLE_UNPACK_WITH_CALL ` have been added, and
2384
2384
``CALL_FUNCTION_VAR ``, ``CALL_FUNCTION_VAR_KW `` and ``MAKE_CLOSURE `` opcodes
2385
2385
have been removed.
2386
2386
(Contributed by Demur Rumed in :issue: `27095 `, and Serhiy Storchaka in
2387
2387
:issue: `27213 `, :issue: `28257 `.)
2388
2388
2389
- * The new :opcode: `SETUP_ANNOTATIONS ` and :opcode: `STORE_ANNOTATION ` opcodes
2389
+ * The new :opcode: `SETUP_ANNOTATIONS ` and :opcode: `! STORE_ANNOTATION ` opcodes
2390
2390
have been added to support the new :term: `variable annotation ` syntax.
2391
2391
(Contributed by Ivan Levkivskyi in :issue: `27985 `.)
2392
2392
Original file line number Diff line number Diff line change @@ -2476,10 +2476,10 @@ avoiding possible problems use new functions :c:func:`PySlice_Unpack` and
2476
2476
CPython bytecode changes
2477
2477
------------------------
2478
2478
2479
- There are two new opcodes: :opcode: `LOAD_METHOD ` and :opcode: `CALL_METHOD `.
2479
+ There are two new opcodes: :opcode: `LOAD_METHOD ` and :opcode: `! CALL_METHOD `.
2480
2480
(Contributed by Yury Selivanov and INADA Naoki in :issue: `26110 `.)
2481
2481
2482
- The :opcode: `STORE_ANNOTATION ` opcode has been removed.
2482
+ The :opcode: `! STORE_ANNOTATION ` opcode has been removed.
2483
2483
(Contributed by Mark Shannon in :issue: `32550 `.)
2484
2484
2485
2485
Original file line number Diff line number Diff line change @@ -2152,11 +2152,11 @@ CPython bytecode changes
2152
2152
cleaning-up code for :keyword: `break `, :keyword: `continue ` and
2153
2153
:keyword: `return `.
2154
2154
2155
- Removed opcodes :opcode: `BREAK_LOOP `, :opcode: `CONTINUE_LOOP `,
2156
- :opcode: `SETUP_LOOP ` and :opcode: `SETUP_EXCEPT `. Added new opcodes
2157
- :opcode: `ROT_FOUR `, :opcode: `BEGIN_FINALLY `, :opcode: `CALL_FINALLY ` and
2158
- :opcode: `POP_FINALLY `. Changed the behavior of :opcode: `END_FINALLY `
2159
- and :opcode: `WITH_CLEANUP_START `.
2155
+ Removed opcodes :opcode: `! BREAK_LOOP `, :opcode: `! CONTINUE_LOOP `,
2156
+ :opcode: `! SETUP_LOOP ` and :opcode: `! SETUP_EXCEPT `. Added new opcodes
2157
+ :opcode: `! ROT_FOUR `, :opcode: `! BEGIN_FINALLY `, :opcode: `! CALL_FINALLY ` and
2158
+ :opcode: `! POP_FINALLY `. Changed the behavior of :opcode: `! END_FINALLY `
2159
+ and :opcode: `! WITH_CLEANUP_START `.
2160
2160
2161
2161
(Contributed by Mark Shannon, Antoine Pitrou and Serhiy Storchaka in
2162
2162
:issue: `17611 `.)
You can’t perform that action at this time.
0 commit comments