Author: Matti Picus <matti.pi...@gmail.com>
Branch: unicode-utf8-py3
Changeset: r94796:9613305bf7cb
Date: 2018-07-01 11:12 -0500
http://bitbucket.org/pypy/pypy/changeset/9613305bf7cb/

Log:    fix interp_stringio for utf8

diff --git a/pypy/module/_io/interp_stringio.py 
b/pypy/module/_io/interp_stringio.py
--- a/pypy/module/_io/interp_stringio.py
+++ b/pypy/module/_io/interp_stringio.py
@@ -46,7 +46,7 @@
         limit = self._convert_limit(limit)
         start = self.pos
         if start >= len(self.data):
-            return u''
+            return ''
         end = start + limit
         pos = start
         while pos < end:
@@ -70,7 +70,7 @@
         start = self.pos
         limit = self._convert_limit(limit)
         if start >= len(self.data):
-            return u''
+            return ''
         end = start + limit
         found = False
         for pos in range(start, end - len(marker) + 1):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to