projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d73ea7
)
Py3.1 fix
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 20 Aug 2009 20:41:37 +0000
(22:41 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 20 Aug 2009 20:41:37 +0000
(22:41 +0200)
Cython/Compiler/Parsing.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Parsing.py
b/Cython/Compiler/Parsing.py
index 885b8518d00eeca4bbe2ae59d128025c74bb12c3..f4083995223171eab31d364a1eab3c48e30594ba 100644
(file)
--- a/
Cython/Compiler/Parsing.py
+++ b/
Cython/Compiler/Parsing.py
@@
-1950,6
+1950,8
@@
def p_opt_cname(s):
literal = p_opt_string_literal(s)
if literal:
_, cname = literal
+ cname = EncodedString(cname)
+ cname.encoding = s.source_encoding
else:
cname = None
return cname