• Brett Cannon's avatar
    When range checking was added to time.strftime() a check was placed on tm_isdst · 4d94743c
    Brett Cannon yazdı
    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.
    4d94743c
Adı
Son kayıt (commit)
Son güncelleme
..
RPM Loading commit data...
TextMate/Python-Dev.tmbundle Loading commit data...
Vim Loading commit data...
ACKS Loading commit data...
AIX-NOTES Loading commit data...
BeOS-NOTES Loading commit data...
BeOS-setup.py Loading commit data...
HISTORY Loading commit data...
NEWS Loading commit data...
NEWS.help Loading commit data...
PURIFY.README Loading commit data...
Porting Loading commit data...
README Loading commit data...
README.OpenBSD Loading commit data...
README.coverity Loading commit data...
README.klocwork Loading commit data...
README.valgrind Loading commit data...
RFD Loading commit data...
SpecialBuilds.txt Loading commit data...
build.sh Loading commit data...
cheatsheet Loading commit data...
developers.txt Loading commit data...
find_recursionlimit.py Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
pymemcompat.h Loading commit data...
python-config.in Loading commit data...
python-mode.el Loading commit data...
python-wing.wpr Loading commit data...
python.man Loading commit data...
python.pc.in Loading commit data...
setuid-prog.c Loading commit data...
valgrind-python.supp Loading commit data...
vgrindefs Loading commit data...