Skip to content
5 changes: 0 additions & 5 deletions Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1111,11 +1111,6 @@ iterations of the loop.
Works as :opcode:`STORE_NAME`, but stores the name as a global.


.. opcode:: DELETE_GLOBAL (namei)

Deletes a global name.


.. opcode:: LOAD_CONST (consti)

Pushes ``co_consts[consti]`` onto the stack.
Expand Down
1 change: 1 addition & 0 deletions Doc/tools/removed-ids.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ c-api/file.html: deprecated-api

# Removed sections
library/asyncio-task.html: terminating-a-task-group
library/dis.html: opcode-DELETE_GLOBAL
library/dis.html: opcode-DELETE_NAME
library/asyncio-llapi-index.html: event-loop-policies

Expand Down
3 changes: 2 additions & 1 deletion Include/internal/pycore_magic_number.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ Known values:
Python 3.16a0 3700 (Initial version)
Python 3.16a0 3701 (Add CONSTANT_EMPTY_TUPLE to LOAD_COMMON_CONSTANT)
Python 3.16a1 3702 (Replace DELETE_NAME with PUSH_NULL; STORE_NAME)
Python 3.16a1 3703 (Replace DELETE_GLOBAL with PUSH_NULL; STORE_GLOBAL)


Python 3.17 will start with 3750
Expand All @@ -313,7 +314,7 @@ PC/launcher.c must also be updated.

*/

#define PYC_MAGIC_NUMBER 3702
#define PYC_MAGIC_NUMBER 3703
/* This is equivalent to converting PYC_MAGIC_NUMBER to 2 bytes
(little-endian) and then appending b'\r\n'. */
#define PYC_MAGIC_NUMBER_TOKEN \
Expand Down
10 changes: 2 additions & 8 deletions Include/internal/pycore_opcode_metadata.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading