File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Misc/NEWS.d/next/Core_and_Builtins Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1079,6 +1079,14 @@ iterations of the loop.
10791079 Pushes ``co_consts[consti] `` onto the stack.
10801080
10811081
1082+ .. opcode :: LOAD_INT (i)
1083+
1084+ Pushes the integer ``i `` onto the stack.
1085+ ``i `` must be in ``range(256) ``
1086+
1087+ .. versionadded :: 3.14
1088+
1089+
10821090.. opcode :: LOAD_CONST_IMMORTAL (consti)
10831091
10841092 Pushes ``co_consts[consti] `` onto the stack.
Original file line number Diff line number Diff line change 1+ Adds :opcode: `LOAD_INT ` and :opcode: `LOAD_CONST_IMMORTAL ` instructions.
2+ ``LOAD_INT `` pushes a small integer equal to the ``oparg `` to the stack.
3+ ``LOAD_CONST_IMMORTAL `` does the same as ``LOAD_CONST `` but is more
4+ efficient for immortal objects.
You can’t perform that action at this time.
0 commit comments