Author: Manuel Jacob Branch: py3k Changeset: r61571:a67c05d6af91 Date: 2013-02-21 23:28 +0100 http://bitbucket.org/pypy/pypy/changeset/a67c05d6af91/
Log: Adapt for py3k. diff --git a/pypy/module/_io/interp_bytesio.py b/pypy/module/_io/interp_bytesio.py --- a/pypy/module/_io/interp_bytesio.py +++ b/pypy/module/_io/interp_bytesio.py @@ -84,7 +84,7 @@ output = buffer2string(self.buf, self.pos, cur_pos) self.pos = cur_pos - return space.wrap(output) + return space.wrapbytes(output) def read1_w(self, space, w_size): return self.read_w(space, w_size) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit