[Python-Dev] For review: PEP 307 - Extensions to the pickle protocol

Greg Ward gward@python.net
Sun, 9 Feb 2003 11:32:18 -0500


On 07 February 2003, Guido van Rossum said:
> I'm assuming a fair number of people have been following this already
> in the checkins list; I think it's ready for review on python-dev:
> 
>   http://www.python.org/peps/pep-0307.html

Haven't read the whole thing, but this:

> Several functions, methods and constructors used for pickling used
> to take a positional argument named 'bin' which was a flag,
> defaulting to 0, indicating binary mode.  This argument is renamed
> to 'proto' and now gives the protocol number, still defaulting to 0.

gave me pause: 'protocol' would be much clearer, and only costs three
more characters.

        Greg
-- 
Greg Ward <gward@python.net>                         http://www.gerg.ca/
Know thyself.  If you need help, call the CIA.