]> granicus.if.org Git - python/commit
The various datetime object __setstate__() methods are no longer public
authorTim Peters <tim.peters@gmail.com>
Fri, 31 Jan 2003 22:27:17 +0000 (22:27 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 31 Jan 2003 22:27:17 +0000 (22:27 +0000)
commit506be287aabe4349956813407dace69dc8d38d36
tree410c7e2c73e76027455021e882914edbd0535910
parent96940c971c440db52406ecf547083159bbfc1a33
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.
Misc/NEWS
Modules/datetimemodule.c