summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/pickletools.py2
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py
index 6b86723a4c..cf5df4158a 100644
--- a/Lib/pickletools.py
+++ b/Lib/pickletools.py
@@ -1898,7 +1898,7 @@ opcodes = [
arg=None,
stack_before=[pyunicode, pyunicode],
stack_after=[anyobject],
- proto=0,
+ proto=4,
doc="""Push a global object (module.attr) on the stack.
"""),
diff --git a/Misc/NEWS b/Misc/NEWS
index b5a70e5640..23b6ebcc2a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -96,6 +96,9 @@ Core and Builtins
Library
-------
+- Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in
+ pickletools.opcodes.
+
- Issue #23972: Updates asyncio datagram create method allowing reuseport
and reuseaddr socket options to be set prior to binding the socket.
Mirroring the existing asyncio create_server method the reuseaddr option