diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-09-22 00:32:59 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-09-22 00:32:59 (GMT) |
commit | 7d12c559ce48941e2c028682184e351f9a07df5a (patch) | |
tree | 9640059ebd637b6676ee7e06d18e7da562da97a4 /Misc | |
parent | ca767bd2db064e8e16ba45d48706dcb4aa6ec42b (diff) | |
download | cpython-7d12c559ce48941e2c028682184e351f9a07df5a.zip cpython-7d12c559ce48941e2c028682184e351f9a07df5a.tar.gz cpython-7d12c559ce48941e2c028682184e351f9a07df5a.tar.bz2 |
Merged revisions 75011 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75011 | brett.cannon | 2009-09-21 17:29:48 -0700 (Mon, 21 Sep 2009) | 10 lines
When range checking was added to time.strftime() a check was placed on tm_isdst
to make sure it fell within [-1, 1] just in case someone implementing
strftime() in libc was stupid enough to assume this. Turns out, though, some
OSs (e.g. zOS) are stupid enough to use values outside of this range for time
structs created by the system itself. So instead of throwing a ValueError,
tm_isdst is now normalized before being passed to strftime().
Fixes issue #6823. Thanks Robert Shapiro for diagnosing the problem and
contributing an initial patch.
........
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -674,6 +674,7 @@ Jerry Seutter Denis Severson Ian Seyer Ha Shao +Richard Shapiro Bruce Sherwood Pete Shinners Michael Shiplett |