diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2011-01-04 16:34:30 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2011-01-04 16:34:30 (GMT) |
commit | b9588b528a48302a4884d0500caec71f1c59280c (patch) | |
tree | d1e04bad5afcc744fed2ef46253db5b79c9c0c39 /Misc | |
parent | 2427ab9d6f132224d6ee4a2b7f00b9d69ba6c0a3 (diff) | |
download | cpython-b9588b528a48302a4884d0500caec71f1c59280c.zip cpython-b9588b528a48302a4884d0500caec71f1c59280c.tar.gz cpython-b9588b528a48302a4884d0500caec71f1c59280c.tar.bz2 |
Issue #8013: time.asctime and time.ctime no longer call system asctime
and ctime functions. The year range for time.asctime is now 1900
through maxint. The range for time.ctime is the same as for
time.localtime. The string produced by these functions is longer than
24 characters when year is greater than 9999.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1422,6 +1422,12 @@ Core and Builtins Extension Modules ----------------- +- Issue #8013: time.asctime and time.ctime no longer call system + asctime and ctime functions. The year range for time.asctime is now + 1900 through maxint. The range for time.ctime is the same as for + time.localtime. The string produced by these functions is longer + than 24 characters when year is greater than 9999. + - Issue #6608: time.asctime is now checking struct tm fields its input before passing it to the system asctime. Patch by MunSic Jeong. |