Message232996
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 |
|
Date |
User |
Action |
Args |
2014-12-21 10:38:05 | CensoredUsername | set | recipients:
+ CensoredUsername, pitrou, serhiy.storchaka |
2014-12-21 10:38:05 | CensoredUsername | set | messageid: <1419158285.2.0.0766973509963.issue23094@psf.upfronthosting.co.za> |
2014-12-21 10:38:05 | CensoredUsername | link | issue23094 messages |
2014-12-21 10:38:05 | CensoredUsername | create | |
|