Author: Matti Picus <[email protected]>
Branch: unicode-utf8-py3
Changeset: r94948:5918348069b9
Date: 2018-08-05 06:50 -0700
http://bitbucket.org/pypy/pypy/changeset/5918348069b9/
Log: whoops
diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py
--- a/pypy/objspace/std/objspace.py
+++ b/pypy/objspace/std/objspace.py
@@ -384,7 +384,7 @@
assert not isinstance(s, unicode)
#if isinstance(s, unicode):
#s, lgt = s.encode('utf8'), len(s)
- elif isinstance(s, str):
+ if isinstance(s, str):
s, lgt, codepoints = decode_utf8sp(self, s)
elif isinstance(s, tuple):
# result of decode_utf8
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit