From: Robert Bradshaw Date: Mon, 28 Apr 2008 19:58:02 +0000 (-0700) Subject: Fix obscure unicode error related to PEP 263 work. X-Git-Tag: 0.9.6.14~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ce72af6741030cc3514cfd45bca2e36a9417520e;p=cython.git Fix obscure unicode error related to PEP 263 work. --- diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index d86cc018..b4133efb 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -912,7 +912,7 @@ def p_import_statement(s): else: if as_name and "." in dotted_name: name_list = ExprNodes.ListNode(pos, args = [ - ExprNodes.StringNode(pos, value = "*")]) + ExprNodes.StringNode(pos, value = Utils.EncodedString("*"))]) else: name_list = None dotted_name = Utils.EncodedString(dotted_name)