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

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant