
29 Apr
2015
29 Apr
'15
4:59 p.m.
Le 29 avr. 2015 10:36, "Adam Bartoš" drekin@gmail.com a écrit :
Why I'm talking about PyCF_SOURCE_IS_UTF8? eval(u"u'\u03b1'") ->
u'\u03b1' but eval(u"u'\u03b1'".encode('utf-8')) -> u'\xce\xb1'.
There is a simple option to get this flag: call eval() with unicode, not with encoded bytes.
Victor