Message100771
| Author | vstinner |
|---|---|
| Recipients | doerwalter, eric.smith, ezio.melotti, pablomouzo, vstinner |
| Date | 2010-03-09.23:50:03 |
| SpamBayes Score | 0.00023270337 |
| Marked as misclassified | No |
| Message-id | <1268178605.83.0.110610602296.issue7300@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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) |
|
| History | |||
|---|---|---|---|
| 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 | |