diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2011-01-07 19:59:19 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2011-01-07 19:59:19 (GMT) |
commit | c64708ae48d07ac906ae29e7ac19a6173a9926df (patch) | |
tree | 0fe64e3d7b06b9e889131d6224f791590aa83907 /Misc | |
parent | 696efdd03f40d5a135961af54946b56028b323bd (diff) | |
download | cpython-c64708ae48d07ac906ae29e7ac19a6173a9926df.zip cpython-c64708ae48d07ac906ae29e7ac19a6173a9926df.tar.gz cpython-c64708ae48d07ac906ae29e7ac19a6173a9926df.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -36,6 +36,14 @@ Core and Builtins Library ------- +- 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 #7858: Raise an error properly when os.utime() fails under Windows on an existing file. |