Author: Matti Picus <[email protected]>
Branch: unicode-utf8-py3
Changeset: r95220:874dfeb1a872
Date: 2018-10-16 20:18 +0300
http://bitbucket.org/pypy/pypy/changeset/874dfeb1a872/
Log: fix to loop infinitely like CPython
diff --git a/pypy/interpreter/unicodehelper.py
b/pypy/interpreter/unicodehelper.py
--- a/pypy/interpreter/unicodehelper.py
+++ b/pypy/interpreter/unicodehelper.py
@@ -1548,8 +1548,6 @@
"truncated input",
s, pos, size)
result.append(res)
- if pos > size - unicode_bytes:
- break
continue
t = r_uint(0)
h = 0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit