[Python-checkins] python/dist/src/Misc NEWS,1.632,1.633

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Fri, 31 Jan 2003 14:27:19 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv23124/Misc

Modified Files:
	NEWS 
Log Message:
The various datetime object __setstate__() methods are no longer public
(pickling no longer needs them, and immutable objects shouldn't have
visible __setstate__() methods regardless).  Rearranged the code to
put the internal setstate functions in the constructor sections.
Repaired the timedelta reduce() method, which was still producing
stuff that required a public timedelta.__setstate__() when unpickling.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.632
retrieving revision 1.633
diff -C2 -d -r1.632 -r1.633
*** NEWS	31 Jan 2003 20:45:41 -0000	1.632
--- NEWS	31 Jan 2003 22:27:15 -0000	1.633
***************
*** 25,29 ****
  
  - Fixed an invalid RuntimeWarning and an undetected error when trying
!   to convert a long integer into a float which couldn't fit.  
    See SF bug #676155.
  
--- 25,29 ----
  
  - Fixed an invalid RuntimeWarning and an undetected error when trying
!   to convert a long integer into a float which couldn't fit.
    See SF bug #676155.
  
***************
*** 126,129 ****
--- 126,134 ----
    possible to have timestamps that differ by a second, yet where
    datetimes constructed from them are equal.
+ 
+   The pickle format of date, time and datetime objects has changed
+   completely.  The undocumented pickler and unpickler functions no
+   longer exist.  The undocumented __setstate__() methods no longer
+   exist either.
  
  Library