Skip to content

Commit f761f0b

Browse files
committed
BINARY_SUBSCR --> BINARY_OP/NB_SUBSCR
1 parent 31fec8d commit f761f0b

25 files changed

+998
-1121
lines changed

Include/internal/pycore_code.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ extern void _Py_Specialize_StoreAttr(_PyStackRef owner, _Py_CODEUNIT *instr,
338338
PyObject *name);
339339
extern void _Py_Specialize_LoadGlobal(PyObject *globals, PyObject *builtins,
340340
_Py_CODEUNIT *instr, PyObject *name);
341-
extern void _Py_Specialize_BinarySubscr(_PyStackRef sub, _PyStackRef container,
342-
_Py_CODEUNIT *instr);
343341
extern void _Py_Specialize_StoreSubscr(_PyStackRef container, _PyStackRef sub,
344342
_Py_CODEUNIT *instr);
345343
extern void _Py_Specialize_Call(_PyStackRef callable, _Py_CODEUNIT *instr,

Include/internal/pycore_magic_number.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ Known values:
268268
Python 3.14a4 3613 (Add LOAD_CONST_MORTAL instruction)
269269
Python 3.14a5 3614 (Add BINARY_OP_EXTEND)
270270
Python 3.14a5 3615 (CALL_FUNCTION_EX always take a kwargs argument)
271+
Python 3.14a5 3616 (Remove BINARY_SUBSCR and family. Make them BINARY_OPs)
271272
272273
Python 3.15 will start with 3650
273274
@@ -280,7 +281,7 @@ PC/launcher.c must also be updated.
280281
281282
*/
282283

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

Include/internal/pycore_opcode_metadata.h

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

0 commit comments

Comments
 (0)