From 5805ddeedb5624aa6677f5e03e6f505c9920495f Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 13 Oct 2015 21:12:32 +0300 Subject: Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in pickletools.opcodes. --- Lib/pickletools.py | 2 +- Misc/NEWS | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Lib/pickletools.py b/Lib/pickletools.py index 6b86723..cf5df41 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 b5a70e5..23b6ebc 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 -- cgit v0.12