Message195985
How it can break backward compatibility? Currently repr() just raises UnicodeEncodeError.
UnicodeEncodeError: 'ascii' codec can't encode character u'\u20ac' in position 0: ordinal not in range(128)
With patch it always returns 8-bit string. As far as repr() usually used for debugging the second alternative looks more helpful. |
|
Date |
User |
Action |
Args |
2013-08-23 17:15:44 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, arigo, vstinner, ezio.melotti, eric.araujo, r.david.murray, liori, Nam.Nguyen |
2013-08-23 17:15:44 | serhiy.storchaka | set | messageid: <1377278144.2.0.0962785313145.issue5876@psf.upfronthosting.co.za> |
2013-08-23 17:15:44 | serhiy.storchaka | link | issue5876 messages |
2013-08-23 17:15:44 | serhiy.storchaka | create | |
|