From: Stefan Behnel Date: Thu, 21 Apr 2011 17:25:21 +0000 (+0200) Subject: fix unprefixed strings with non-UTF8 source code encoding in Py3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bb3d6c85187c00a2932f7f798f930902312fd3ab;p=cython.git fix unprefixed strings with non-UTF8 source code encoding in Py3 --- diff --git a/Cython/Compiler/Code.py b/Cython/Compiler/Code.py index 51aa4256..dcfad313 100644 --- a/Cython/Compiler/Code.py +++ b/Cython/Compiler/Code.py @@ -762,8 +762,8 @@ class GlobalState(object): py_string.cname, py_string.py3str_cstring.cname, py_string.py3str_cstring.cname, - encoding, - 1, 1, 0, + '0', 1, 0, + py_string.intern )) w.putln("#else") w.putln(