projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115ef7f
)
fix unprefixed strings with non-UTF8 source code encoding in Py3
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 21 Apr 2011 17:25:21 +0000
(19:25 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 21 Apr 2011 17:25:21 +0000
(19:25 +0200)
Cython/Compiler/Code.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Code.py
b/Cython/Compiler/Code.py
index 51aa4256b5e145fd5c7a0db933a7080da97ffa2f..dcfad31396cce182fc4a87486d4fc93633a2b5b9 100644
(file)
--- 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(