[pypy-commit] pypy py3.5: fix for 6159e89116af

rlamy pypy.commits at gmail.com
Sun Jul 16 10:22:39 EDT 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
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",


More information about the pypy-commit mailing list