Commit ce72af67 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix obscure unicode error related to PEP 263 work.

parent 06aa1104
...@@ -912,7 +912,7 @@ def p_import_statement(s): ...@@ -912,7 +912,7 @@ def p_import_statement(s):
else: else:
if as_name and "." in dotted_name: if as_name and "." in dotted_name:
name_list = ExprNodes.ListNode(pos, args = [ name_list = ExprNodes.ListNode(pos, args = [
ExprNodes.StringNode(pos, value = "*")]) ExprNodes.StringNode(pos, value = Utils.EncodedString("*"))])
else: else:
name_list = None name_list = None
dotted_name = Utils.EncodedString(dotted_name) dotted_name = Utils.EncodedString(dotted_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment