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 pitrou
Recipients pitrou
Date 2011-08-27.12:01:03
SpamBayes Score 0.0030450106
Marked as misclassified No
Message-id <1314446464.92.0.317073620599.issue12847@psf.upfronthosting.co.za>
In-reply-to
Content
This doesn't happen on 2.x cPickle, where PUT keys are simply treated as strings.

>>> import pickle, pickletools
>>> s = b'Va\np-1\n.'
>>> pickletools.dis(s)
    0: V    UNICODE    'a'
    3: p    PUT        -1
    7: .    STOP
highest protocol among opcodes = 0
>>> pickle.loads(s)   
Erreur de segmentation
History
Date User Action Args
2011-08-27 12:01:04pitrousetrecipients: + pitrou
2011-08-27 12:01:04pitrousetmessageid: <1314446464.92.0.317073620599.issue12847@psf.upfronthosting.co.za>
2011-08-27 12:01:04pitroulinkissue12847 messages
2011-08-27 12:01:03pitroucreate