diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-04 18:17:36 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-04 18:17:36 (GMT) |
commit | 75a6e3bd1a91ae1d7e4bb30f73052d1b89bca524 (patch) | |
tree | c9ceb8bf3fb8635c783d2ebfed37f7dd6e299f8f /Misc | |
parent | 85e4c6757f3b323870b24dad4b39b1572b8a292c (diff) | |
download | cpython-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/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 ------- |