projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da870f2
)
importing a module named by a unicode string seems to work equally well in Py2 and Py3
author
Stefan Behnel
<scoder@users.berlios.de>
Wed, 14 May 2008 19:16:45 +0000
(21:16 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Wed, 14 May 2008 19:16:45 +0000
(21:16 +0200)
Cython/Compiler/Parsing.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Parsing.py
b/Cython/Compiler/Parsing.py
index b8ad781ba9080d804c51d9a6bb2ea9ad4e88866a..803879eea61ae6b2d15ffab45636c71ebb6c381d 100644
(file)
--- a/
Cython/Compiler/Parsing.py
+++ b/
Cython/Compiler/Parsing.py
@@
-916,7
+916,6
@@
def p_import_statement(s):
else:
name_list = None
dotted_name = Utils.EncodedString(dotted_name)
- dotted_name.encoding = s.source_encoding
stat = Nodes.SingleAssignmentNode(pos,
lhs = ExprNodes.NameNode(pos,
name = as_name or target_name),