[issue2490] Assertion failure in datetime.strftime()
Pierre Metras
report at bugs.python.org
Wed Mar 26 12:40:34 CET 2008
Pierre Metras <genepi at sympatico.ca> added the comment:
There is an example of a long strftime pattern in the test.py file
attached to that issue. Just change the length of the pattern to see
that it works for smaller patterns in Python 2.5.
The pattern where it occured in my application is a Pango markup
string used for localization:
"<markup><span lang=\"en\" font_desc=\"Sans,Monospace Bold 130\"><span
foreground=\"#0000FF\">%H</span>:<span
foreground=\"#00FF00\">%M</span>:<span
foreground=\"#FF0000\">%S</span></span></markup>"
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2490>
__________________________________
More information about the Python-bugs-list
mailing list