[Python-checkins] python/dist/src/Lib pickle.py,1.157,1.158

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Sat Aug 7 18:27:27 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14953

Modified Files:
	pickle.py 
Log Message:
Make 'bin' argument trigger DeprecationWarning

Index: pickle.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickle.py,v
retrieving revision 1.157
retrieving revision 1.158
diff -C2 -d -r1.157 -r1.158
*** pickle.py	12 Feb 2004 17:35:06 -0000	1.157
--- pickle.py	7 Aug 2004 16:27:24 -0000	1.158
***************
*** 200,204 ****
          if bin is not None:
              warnings.warn("The 'bin' argument to Pickler() is deprecated",
!                           PendingDeprecationWarning)
              protocol = bin
          if protocol is None:
--- 200,204 ----
          if bin is not None:
              warnings.warn("The 'bin' argument to Pickler() is deprecated",
!                           DeprecationWarning)
              protocol = bin
          if protocol is None:



More information about the Python-checkins mailing list