From: Stefan Behnel Date: Sun, 5 Jul 2009 19:33:36 +0000 (+0200) Subject: Py3 fix X-Git-Tag: 0.12.alpha0~261 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0f0aca155735fe708dd198c0dcda180b079c6bf5;p=cython.git Py3 fix --- diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index 44bc6774..724e4c1b 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -594,7 +594,7 @@ def p_cat_string_literal(s): if kind == 'u': value = EncodedString( u''.join(strings) ) else: - value = BytesLiteral( ''.join(strings) ) + value = BytesLiteral( StringEncoding.join_bytes(strings) ) value.encoding = s.source_encoding return kind, value