Author: Matti Picus <[email protected]>
Branch: unicode-utf8-py3
Changeset: r95367:a841b6df8847
Date: 2018-11-25 12:31 -0600
http://bitbucket.org/pypy/pypy/changeset/a841b6df8847/
Log: UnicodeListStrategy can hold utf8, not just ascii
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
@@ -98,7 +98,6 @@
return self._utf8
def listview_utf8(self):
- assert self.is_ascii()
return _create_list_from_unicode(self._utf8)
def ord(self, space):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit