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 benjamin.peterson
Recipients Georg, benjamin.peterson
Date 2008-09-18.21:04:48
SpamBayes Score 2.201548e-06
Marked as misclassified No
Message-id <1221771891.13.0.678578870813.issue3903@psf.upfronthosting.co.za>
In-reply-to
Content
Pickled files should *always* be used in binary mode.

The 3.0 pickle documentation states this:

"Be sure to always open pickle files created with protocols >= 1 in
binary mode. For the old ASCII-based pickle protocol 0 you can use
either text mode or binary mode as long as you stay consistent.

A pickle file written with protocol 0 in binary mode will contain lone
linefeeds as line terminators and therefore will look “funny” when
viewed in Notepad or other editors which do not support this format."


[1] http://docs.python.org/dev/3.0/library/pickle.html#usage
History
Date User Action Args
2008-09-18 21:04:51benjamin.petersonsetrecipients: + benjamin.peterson, Georg
2008-09-18 21:04:51benjamin.petersonsetmessageid: <1221771891.13.0.678578870813.issue3903@psf.upfronthosting.co.za>
2008-09-18 21:04:49benjamin.petersonlinkissue3903 messages
2008-09-18 21:04:48benjamin.petersoncreate