diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-02 19:35:54 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-02 19:35:54 (GMT) |
commit | 710fb1548ab43bcddc105c41b139b6328962de01 (patch) | |
tree | 7047ed7c552cb5cc43517e5b06dfbc7dee038a36 /Misc | |
parent | 0123139d665c02fa731511d32a31724137c8eca0 (diff) | |
download | cpython-710fb1548ab43bcddc105c41b139b6328962de01.zip cpython-710fb1548ab43bcddc105c41b139b6328962de01.tar.gz cpython-710fb1548ab43bcddc105c41b139b6328962de01.tar.bz2 |
astimezone() internals: if utcoffset() returns a duration, complain if
dst() returns None (instead of treating that as 0).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -22,6 +22,10 @@ Extension modules today() and now() now round system timestamps to the closest microsecond <http://www.python.org/sf/661086>. + In dt.asdatetime(tz), if tz.utcoffset(dt) returns a duration, + ValueError is raised of tz.dst(dt) returns None (2.3a1 treated it + as 0 instead). + Library ------- |