Message258741
Sorry, missed one condition:
I used `unicode_literals` in Python 2.7.10, example below:
>>> from __future__ import unicode_literals
>>> str('api名称')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-4: ordinal not in range(128) |
|
Date |
User |
Action |
Args |
2016-01-21 08:05:08 | Sean.Wang | set | recipients:
+ Sean.Wang, loewis, akuchling, gward, bethard, ivilata, vstinner, aronacher, ezio.melotti, ash, eric.araujo, sampablokuper |
2016-01-21 08:05:08 | Sean.Wang | set | messageid: <1453363508.22.0.916236433766.issue2931@psf.upfronthosting.co.za> |
2016-01-21 08:05:08 | Sean.Wang | link | issue2931 messages |
2016-01-21 08:05:07 | Sean.Wang | create | |
|