]> granicus.if.org Git - python/commitdiff
Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 13 Oct 2015 18:12:32 +0000 (21:12 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 13 Oct 2015 18:12:32 +0000 (21:12 +0300)
pickletools.opcodes.

Lib/pickletools.py
Misc/NEWS

index 6b86723a4c0d2dfbe06ef285d5a30ec00e21d625..cf5df4158a0ac4fe4cd94d106e18a7d16a87ebc5 100644 (file)
@@ -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.
       """),
 
index b5a70e56409be784926637c8705960499f948453..23b6ebcc2a177cf16a97683ac7696274bbba884b 100644 (file)
--- 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