>>compile('U"ÖÐ "','c:/test','single')
<code object ? at 00F06B60, file "c:/test", line 1>
<code object ? at 00F06BA0, file "c:/test", line 1>
u'\xd6\xd0'
u'\u4e2d'
why is the result different?
a bug or another reason?
<code object ? at 00F06B60, file "c:/test", line 1>
>>d=compile('U" ÖÐ"','c:/test','single')
>>d
>>d
>>exec(d)
>>U"ÖÐ"
>>>
a bug or another reason?
Comment