projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bfa878
)
Py3 fix
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 5 Jul 2009 19:08:58 +0000
(21:08 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 5 Jul 2009 19:08:58 +0000
(21:08 +0200)
Cython/Compiler/Code.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Code.py
b/Cython/Compiler/Code.py
index 49f2f1e52743523757a259aaf1babb2270e4ebbb..ed83c9c28d01c1ebbd5405fabb479ee17abdc5d0 100644
(file)
--- a/
Cython/Compiler/Code.py
+++ b/
Cython/Compiler/Code.py
@@
-697,7
+697,7
@@
class GlobalState(object):
u'*/', u'*[inserted by cython to avoid comment closer]/'
).replace(
u'/*', u'/[inserted by cython to avoid comment start]*'
- ).encode('ASCII', 'replace')
# + Py2 auto-decode to unicode
+ ).encode('ASCII', 'replace')
.decode('ASCII')
for line in source_desc.get_lines()]
if len(F) == 0: F.append(u'')
self.input_file_contents[source_desc] = F