[issue10762] strftime('%f') segfault

Santoso Wijaya report at bugs.python.org
Sun Apr 3 02:35:44 CEST 2011


Santoso Wijaya <santoso.wijaya at gmail.com> added the comment:

I don't think this is a Windows "bug" per se, because the behavior is undefined in the standards. The burden is up to us to validate the format string inputted [w]strftime and currently, our code mistakenly clears "%f" as valid.

I'm attaching a patch against 2.7 branch.

----------
keywords: +patch
Added file: http://bugs.python.org/file21509/issue11703.patch

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


More information about the Python-bugs-list mailing list