[issue6823] time.strftime does unnecessary range check

Brett Cannon report at bugs.python.org
Thu Sep 3 23:37:25 CEST 2009


Brett Cannon <brett at python.org> added the comment:

Ugh, damn platforms and having to be different. =)

Normalization is the best solution as Python's docs says the expected 
value for the tm_dst field is -1, 0, or 1 (which is why I added the 
check).

----------
keywords: +easy
priority:  -> low
stage:  -> test needed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6823>
_______________________________________


More information about the Python-bugs-list mailing list