Author: fijal Branch: unicode-utf8 Changeset: r92609:9d3ca8dde893 Date: 2017-10-05 13:57 +0200 http://bitbucket.org/pypy/pypy/changeset/9d3ca8dde893/
Log: one more and I give up diff --git a/pypy/interpreter/unicodehelper.py b/pypy/interpreter/unicodehelper.py --- a/pypy/interpreter/unicodehelper.py +++ b/pypy/interpreter/unicodehelper.py @@ -115,7 +115,8 @@ try: rutf8.check_ascii(s, slen) return s, slen, len(s) - except rutf8.AsciiCheckError: + except rutf8.CheckError: + raise Exception("foo") return rutf8.str_decode_ascii(s, slen, errors, errorhandler) # XXX wrappers, think about speed _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit