Message161115
| Author |
weirdink13 |
| Recipients |
amaury.forgeotdarc, jaraco, weirdink13 |
| Date |
2012年05月19日.13:56:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1337435790.12.0.180962777645.issue14847@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I attempted to reproduce the error. I didn't, all I got was
'str' object has no attribute 'decode'
here is the whole test.
Python 3.2.2 (default, Sep 4 2011, 09:51:08) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> b''.decode('utf-8')
''
>>> ''.decode('utf-8')
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
''.decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'
>>> b'x'.decode('utf-8')
'x'
>>>
Appearently, this error does not apply to Python 3.2.2. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月19日 13:56:30 | weirdink13 | set | recipients:
+ weirdink13, amaury.forgeotdarc, jaraco |
| 2012年05月19日 13:56:30 | weirdink13 | set | messageid: <1337435790.12.0.180962777645.issue14847@psf.upfronthosting.co.za> |
| 2012年05月19日 13:56:29 | weirdink13 | link | issue14847 messages |
| 2012年05月19日 13:56:28 | weirdink13 | create |
|