Author: Antonio Cuni <anto.c...@gmail.com> Branch: py3k Changeset: r54433:aaf9d714037c Date: 2012-04-16 17:32 +0200 http://bitbucket.org/pypy/pypy/changeset/aaf9d714037c/
Log: the usual wrap/wrapbytes confusion diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py --- a/pypy/module/array/interp_array.py +++ b/pypy/module/array/interp_array.py @@ -533,7 +533,7 @@ cbuf = self._charbuf_start() s = rffi.charpsize2str(cbuf, self.len * mytype.bytes) self._charbuf_stop() - return self.space.wrap(s) + return self.space.wrapbytes(s) def array_tostring__Array(space, self): space.warn("tostring() is deprecated. Use tobytes() instead.", _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit