[Python-checkins] python/dist/src/Misc NEWS,1.598,1.599
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Fri, 03 Jan 2003 14:35:27 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv23141/python/Misc
Modified Files:
NEWS
Log Message:
Remark about datetime tzinfo examples.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.598
retrieving revision 1.599
diff -C2 -d -r1.598 -r1.599
*** NEWS 3 Jan 2003 19:16:12 -0000 1.598
--- NEWS 3 Jan 2003 22:35:24 -0000 1.599
***************
*** 33,40 ****
as 0 instead).
! The tzinfo methods utcoffset() and dst() must return a timedelta object
! (or None) now. In 2.3a1 they could also return an int or long, but that
! was an unhelpfully redundant leftover from an earlier version wherein
they couldn't return a timedelta. TOOWTDI.
Library
--- 33,43 ----
as 0 instead).
! The tzinfo methods utcoffset() and dst() must return a timedelta object
! (or None) now. In 2.3a1 they could also return an int or long, but that
! was an unhelpfully redundant leftover from an earlier version wherein
they couldn't return a timedelta. TOOWTDI.
+
+ The example tzinfo class for local time had a bug. It was replaced
+ by a later example coded by Guido.
Library