Author: Amaury Forgeot d'Arc <amaur...@gmail.com> Branch: Changeset: r73591:568f6f6ef786 Date: 2014-09-17 22:19 +0200 http://bitbucket.org/pypy/pypy/changeset/568f6f6ef786/
Log: Fix copy/paste mistake. Unit test will follow. diff --git a/pypy/interpreter/pyparser/parsestring.py b/pypy/interpreter/pyparser/parsestring.py --- a/pypy/interpreter/pyparser/parsestring.py +++ b/pypy/interpreter/pyparser/parsestring.py @@ -227,7 +227,7 @@ def decode_utf8_recode(space, s, ps, end, recode_encoding): u, ps = decode_utf8(space, s, ps, end) w_v = unicodehelper.encode(space, space.wrap(u), recode_encoding) - v = space.bytes_w(w_v) + v = space.str_w(w_v) return v, ps def raise_app_valueerror(space, msg): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit