[issue13674] crash in datetime.strftime

Tim Golden report at bugs.python.org
Fri Dec 30 12:03:59 CET 2011


Tim Golden <mail at timgolden.me.uk> added the comment:

Yes, sorry. I wasn't clear enough. There *are* still checks
in the 3.x code (for the kind of thing you're showing). But
the checks assume 1000 <= year <= maxint is ok for all format
parameters on Windows. In fact, for %y, only 1900 <= year is ok.

----------

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


More information about the Python-bugs-list mailing list