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 valhallasw
Recipients Ronny.Pfannschmidt, RonnyPfannschmidt, alexandre.vassalotti, georg.brandl, ggenellina, gvanrossum, jcea, jdharper, loewis, pitrou, valhallasw
Date 2012-02-19.15:49:20
SpamBayes Score 6.763885e-08
Marked as misclassified No
Message-id <1329666560.9.0.287473229089.issue6784@psf.upfronthosting.co.za>
In-reply-to
Content
Last night, I hacked together a wrapper to do what loewis suggested [1]. It pickles bytes to str (for protocol <= 2), and unpickles str to bytes.

If I (ever) get the build system and tests of python itself to work, I'll try and see if I can implement a nicer solution - at least for pickle.py.

[1] https://github.com/valhallasw/py2/blob/master/bytestrpickle.py
History
Date User Action Args
2012-02-19 15:49:20valhallaswsetrecipients: + valhallasw, gvanrossum, loewis, georg.brandl, jcea, ggenellina, pitrou, alexandre.vassalotti, RonnyPfannschmidt, jdharper, Ronny.Pfannschmidt
2012-02-19 15:49:20valhallaswsetmessageid: <1329666560.9.0.287473229089.issue6784@psf.upfronthosting.co.za>
2012-02-19 15:49:20valhallaswlinkissue6784 messages
2012-02-19 15:49:20valhallaswcreate