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 serhiy.storchaka
Recipients Ramchandra Apte, alexandre.vassalotti, pitrou, sbt, serhiy.storchaka, terry.reedy, vajrasky, vstinner
Date 2015-05-12.09:17:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431422263.94.0.0239375468438.issue13566@psf.upfronthosting.co.za>
In-reply-to
Content
Proposed patch pickles all ascii strings with protocols < 3 and fix_import=True with compatible opcodes (STRING, BINSTRING and SHORT_BINSTRING). Pickled strings are unpickled as str in Python 2 and Python 3 (unless encoding="bytes").

As a side effect, short ascii strings (length < 256) are pickled more compact with protocols < 3.
History
Date User Action Args
2015-05-12 09:17:44serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, pitrou, vstinner, alexandre.vassalotti, sbt, Ramchandra Apte, vajrasky
2015-05-12 09:17:43serhiy.storchakasetmessageid: <1431422263.94.0.0239375468438.issue13566@psf.upfronthosting.co.za>
2015-05-12 09:17:43serhiy.storchakalinkissue13566 messages
2015-05-12 09:17:43serhiy.storchakacreate