From d5db2840ad7a770e782364b78326432f978aa0ca Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Fri, 12 Apr 2013 20:41:29 +0200 Subject: [PATCH] Don't punycode pure unicode strings. --- hy/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hy/compiler.py b/hy/compiler.py index ab635e9..2cffad1 100644 --- a/hy/compiler.py +++ b/hy/compiler.py @@ -944,7 +944,7 @@ class HyASTCompiler(object): @builds(HyString) def compile_string(self, string): - return ast.Str(s=ast_str(string), lineno=string.start_line, + return ast.Str(s=str_type(string), lineno=string.start_line, col_offset=string.start_column) @builds(HyKeyword)