Antoine Pitrou <[email protected]> added the comment:
Same with LONG_BINPUT on a 32-bit build:
>>> s = b'\x80\x03X\x01\x00\x00\x00ar\xff\xff\xff\xff.'
>>> pickletools.dis(s)
0: \x80 PROTO 3
2: X BINUNICODE 'a'
8: r LONG_BINPUT -1
13: . STOP
highest protocol among opcodes = 2
>>> pickle.loads(s)
Erreur de segmentation
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12847>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com