[Python-Dev] pickle.dump(..) interface change ... documentation
Skip Montanaro
skip at pobox.com
Wed Feb 4 15:15:06 EST 2004
Chris> I just ran across something that looks like a very unfortunate interface
Chris> change in the pickle module:
Chris> Python 2.2: dump(object, file[, bin])
Chris> Python 2.3: dump(object, file[, protocol[, bin]])
>From the docs:
Changed in version 2.3: The protocol parameter was added. The bin
parameter is deprecated and only provided for backwards compatibility.
You should use the protocol parameter instead.
I don't know if that's sufficient for your needs, but it does suggest that
dump() calls which used the bin parameter should be inspected.
Skip
More information about the Python-Dev
mailing list