Author: fijal
Branch: unicode-utf8
Changeset: r92606:af0fec89c369
Date: 2017-10-05 13:50 +0200
http://bitbucket.org/pypy/pypy/changeset/af0fec89c369/

Log:    RPythonize hacks

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
@@ -835,7 +835,7 @@
             try:
                 lgt = rutf8.check_utf8(s, allow_surrogates=True)
             except rutf8.CheckError:
-                XXX
+                assert False, "fix in the future"
                 eh = unicodehelper.decode_error_handler(space)
                 eh(None, 'utf8', e.msg, s, e.startpos, e.endpos)
                 assert False, "has to raise"
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to