Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r91906:fe19ba9deaa2
Date: 2017-07-16 16:18 +0200
http://bitbucket.org/pypy/pypy/changeset/fe19ba9deaa2/

Log:    fix for 6159e89116af

diff --git a/pypy/objspace/std/bytesobject.py b/pypy/objspace/std/bytesobject.py
--- a/pypy/objspace/std/bytesobject.py
+++ b/pypy/objspace/std/bytesobject.py
@@ -755,7 +755,7 @@
         for i in seq:
             result.append(i)
         return result""")
-    return w_result.getdata()
+    return ''.join(w_result.getdata())
 
 W_BytesObject.typedef = TypeDef(
     "bytes", None, None, "read",
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to