summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-01-04 18:17:36 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-01-04 18:17:36 (GMT)
commit75a6e3bd1a91ae1d7e4bb30f73052d1b89bca524 (patch)
treec9ceb8bf3fb8635c783d2ebfed37f7dd6e299f8f /Misc
parent85e4c6757f3b323870b24dad4b39b1572b8a292c (diff)
downloadcpython-75a6e3bd1a91ae1d7e4bb30f73052d1b89bca524.zip
cpython-75a6e3bd1a91ae1d7e4bb30f73052d1b89bca524.tar.gz
cpython-75a6e3bd1a91ae1d7e4bb30f73052d1b89bca524.tar.bz2
datetime_from_timet_and_us(): ignore leap seconds if the platform
localtime()/gmtime() insists on delivering them, + associated doc changes. Redid the docs for datetimtez.astimezone().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 89c7683..8bc29a6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -50,6 +50,12 @@ Extension modules
time), this case can arise one hour per year, at the hour daylight time
ends. See new docs for details.
+ The constructors building a datetime from a timestamp could raise
+ ValueError if the platform C localtime()/gmtime() inserted "leap
+ seconds". Leap seconds are ignored now. On such platforms, it's
+ possible to have timestamps that differ by a second, yet where
+ datetimes constructed from them are equal.
+
Library
-------