Message100771
My patch converts the format string to unicode using the default encoding. It's inconsistent with str%args: str%args converts str to unicode using the ASCII charset (if a least one argument is an unicode string), not the default encoding.
>>> "\xff%s" % u'\xe9'
...
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128) |
|
Date |
User |
Action |
Args |
2010-03-09 23:50:06 | vstinner | set | recipients:
+ vstinner, doerwalter, eric.smith, ezio.melotti, pablomouzo |
2010-03-09 23:50:05 | vstinner | set | messageid: <1268178605.83.0.110610602296.issue7300@psf.upfronthosting.co.za> |
2010-03-09 23:50:03 | vstinner | link | issue7300 messages |
2010-03-09 23:50:03 | vstinner | create | |
|