Author: Manuel Jacob
Branch: py3k
Changeset: r61379:b1b930ca4d4f
Date: 2013-02-17 19:23 +0100
http://bitbucket.org/pypy/pypy/changeset/b1b930ca4d4f/
Log: hg backout ce51a8cf30f4
diff --git a/lib_pypy/_ctypes/array.py b/lib_pypy/_ctypes/array.py
--- a/lib_pypy/_ctypes/array.py
+++ b/lib_pypy/_ctypes/array.py
@@ -144,7 +144,7 @@
l = [self[i] for i in range(start, stop, step)]
letter = getattr(self._type_, '_type_', None)
if letter == 'c':
- return bytes(l)
+ return b"".join(l)
if letter == 'u':
return "".join(l)
return l
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit