[Python-Dev] when is binary mode required for pickle?

Neal Norwitz neal@metaslash.com
Wed, 12 Feb 2003 14:55:38 -0500


On Wed, Feb 12, 2003 at 10:35:14AM -0500, Guido van Rossum wrote:
> 
> The situation for pickling is complex.  Pickling protocol 0 *allows*
> opening the file in text mode, as long as this is done both for
> reading and for writing.  Pickling protocol 1 (AKA known as "binary
> mode") and protocol 2 (new in Python 2.3) *require* opening the file
> in binary mode (but nobody ever checks).

Is the new pickling definitely going in to 2.3?
If so, has anyone started working on fixing the documentation?
The most important changes I know of are the bin/protocol parameters.

Neal