[pypy-commit] pypy unicode-utf8-py3: fix merge
mattip
pypy.commits at gmail.com
Tue Sep 11 16:34:26 EDT 2018
Author: Matti Picus <matti.picus at gmail.com>
Branch: unicode-utf8-py3
Changeset: r95099:afe9a3fb0c6b
Date: 2018-09-11 23:33 +0300
http://bitbucket.org/pypy/pypy/changeset/afe9a3fb0c6b/
Log: fix merge
diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py
--- a/pypy/objspace/std/unicodeobject.py
+++ b/pypy/objspace/std/unicodeobject.py
@@ -1222,7 +1222,7 @@
try:
rutf8.check_ascii(utf8)
except rutf8.CheckError as a:
- eh = unicodehelper.encode_error_handler(space)
+ eh = unicodehelper.encode_error_handler(space)
eh(None, "ascii", "ordinal not in range(128)", utf8,
a.pos, a.pos + 1)
assert False, "always raises"
@@ -1260,7 +1260,6 @@
"use codecs.decode() to decode to arbitrary types",
encoding,
w_retval)
- w_retval)
return w_retval
More information about the pypy-commit
mailing list