Skip to content

Commit c1e7681

Browse files
committed
gh-100239: replace BINARY_SUBSCR & family by BINARY_OP with oparg NB_SUBSCR
1 parent 25a614a commit c1e7681

23 files changed

+1169
-1691
lines changed

Include/internal/pycore_magic_number.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ Known values:
267267
Python 3.14a4 3612 (Add POP_ITER and INSTRUMENTED_POP_ITER)
268268
Python 3.14a4 3613 (Add LOAD_CONST_MORTAL instruction)
269269
Python 3.14a5 3614 (Add BINARY_OP_EXTEND)
270+
Python 3.14a5 3615 (Remove BINARY_SUBSCR)
270271
271272
Python 3.15 will start with 3650
272273
@@ -279,7 +280,7 @@ PC/launcher.c must also be updated.
279280
280281
*/
281282

282-
#define PYC_MAGIC_NUMBER 3614
283+
#define PYC_MAGIC_NUMBER 3615
283284
/* This is equivalent to converting PYC_MAGIC_NUMBER to 2 bytes
284285
(little-endian) and then appending b'\r\n'. */
285286
#define PYC_MAGIC_NUMBER_TOKEN \

Include/internal/pycore_opcode_metadata.h

Lines changed: 19 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)