[Python-Dev] Pickler()'s bin argument (original) (raw)

Tim Peters tim.peters at gmail.com
Sat Aug 7 17:56:09 CEST 2004


[A.M. Kuchling]

PEP 307 says this about Pickler:

Passing 'bin' as a keyword argument is deprecated, and a PendingDeprecationWarning is issued in this case. You have to invoke the Python interpreter with -Wa or a variation on that to see PendingDeprecationWarning messages. In Python 2.4, the warning class may be upgraded to DeprecationWarning. Should I change it to become a DeprecationWarning in 2.4?

+1. 2.3's been current a long time, and AFAICT PendingDeprecationWarning isn't a lot more warning than a comment in the middle of cPickle.c.



More information about the Python-Dev mailing list