This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author CensoredUsername
Recipients CensoredUsername, pitrou, serhiy.storchaka
Date 2014-12-21.10:38:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1419158285.2.0.0766973509963.issue23094@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed. In my case the problem was caused a subclassed Pickler which still used GLOBAL instead of STACK_GLOBAL in protocol 4.

My own minimized test case was:

data = b"\x80\x04\x95\x11\x00\x00\x00\x00\x00\x00\x00cpickle\nPickler\n."
>>> pickletools.dis(data)
    0: \x80 PROTO      4
    2: \x95 FRAME      17
   11: c    GLOBAL     'pickle Pickler'
   27: .    STOP
highest protocol among opcodes = 4

which should return pickle.Pickler
History
Date User Action Args
2014-12-21 10:38:05CensoredUsernamesetrecipients: + CensoredUsername, pitrou, serhiy.storchaka
2014-12-21 10:38:05CensoredUsernamesetmessageid: <1419158285.2.0.0766973509963.issue23094@psf.upfronthosting.co.za>
2014-12-21 10:38:05CensoredUsernamelinkissue23094 messages
2014-12-21 10:38:05CensoredUsernamecreate