[Python-checkins] cpython (merge 3.4 -> 3.5): Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in

serhiy.storchaka python-checkins at python.org
Tue Oct 13 14:14:56 EDT 2015


https://hg.python.org/cpython/rev/4115eabc3a6d
changeset: 98725:4115eabc3a6d
branch: 3.5
parent: 98721:a557ec9c8b12
parent: 98724:e52f1fa2d10e
user: Serhiy Storchaka <storchaka at gmail.com>
date: Tue Oct 13 21:13:34 2015 +0300
summary:
 Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in
pickletools.opcodes.
files:
 Lib/pickletools.py | 2 +-
 Misc/NEWS | 3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Lib/pickletools.py b/Lib/pickletools.py
--- a/Lib/pickletools.py
+++ b/Lib/pickletools.py
@@ -1898,7 +1898,7 @@
 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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -53,6 +53,9 @@
 - Issue #25316: distutils raises OSError instead of DistutilsPlatformError
 when MSVC is not installed.
 
+- 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
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /