From 5c74d3d8cadbe5a1357508b0ebe98ef3fc2837cb Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 14 May 2008 21:16:45 +0200 Subject: [PATCH] importing a module named by a unicode string seems to work equally well in Py2 and Py3 --- Cython/Compiler/Parsing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index b8ad781b..803879ee 100644 --- 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), -- 2.26.2