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

Guido van Rossum guido at python.org
Sat Aug 7 18:38:34 CEST 2004


> 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?

Sure.

--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list