diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-08 16:37:47 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-08 16:37:47 (GMT) |
commit | 3ec899fc0d9b3f233e3d449576ed3486bcb3e238 (patch) | |
tree | 53966133a49e1d0514fd1b8c952c57f8d4e1338a | |
parent | f7d019ec9a8fb492ce7dca3b94b05b189d0eb0c5 (diff) | |
download | cpython-3ec899fc0d9b3f233e3d449576ed3486bcb3e238.zip cpython-3ec899fc0d9b3f233e3d449576ed3486bcb3e238.tar.gz cpython-3ec899fc0d9b3f233e3d449576ed3486bcb3e238.tar.bz2 |
NEWS: merge #1777412 and #10827 entries
-rw-r--r-- | Misc/NEWS | 17 |
1 files changed, 6 insertions, 11 deletions
@@ -40,11 +40,6 @@ Core and Builtins Library ------- -- Issue #1777412: minimum year for time.asctime(), time.ctime() and - time.strftime() is now: 1000 instead of 1900 by default (accept2dyear=0) and - not limited instead of 1900 if accept2dyear=1. With Visual Studio or on - Solaris, the year is limited to the range [1; 9999]. - - Issue #10859: Make ``contextlib.GeneratorContextManager`` officially private by renaming it to ``_GeneratorContextManager``. @@ -60,12 +55,12 @@ Library without folding whitespace. It now uses the continuation_ws, as it does for continuation lines that it creates itself. -- Issue #10827: Changed the rules for 2-digit years. The time.asctime - function will now format any year when ``time.accept2dyear`` is - false and will accept years >= 1000 otherwise. The year range - accepted by ``time.mktime`` and ``time.strftime`` is still system - dependent, but ``time.mktime`` will now accept full range supported - by the OS. Conversion of 2-digit years to 4-digit is deprecated. +- Issue #1777412, #10827: Changed the rules for 2-digit years. The + time.asctime(), time.ctime() and time.strftime() functions will now format + any year when ``time.accept2dyear`` is False and will accept years >= 1000 + otherwise. ``time.mktime`` and ``time.strftime`` now accept full range + supported by the OS. With Visual Studio or on Solaris, the year is limited to + the range [1; 9999]. Conversion of 2-digit years to 4-digit is deprecated. - Issue #7858: Raise an error properly when os.utime() fails under Windows on an existing file. |