Author: Brian Kearns <bdkea...@gmail.com> Branch: Changeset: r70974:044a3faede8c Date: 2014-04-25 11:53 -0400 http://bitbucket.org/pypy/pypy/changeset/044a3faede8c/
Log: seems str_w is sufficient here diff --git a/pypy/module/_rawffi/array.py b/pypy/module/_rawffi/array.py --- a/pypy/module/_rawffi/array.py +++ b/pypy/module/_rawffi/array.py @@ -193,7 +193,7 @@ def setslice(self, space, w_slice, w_value): start, stop = self.decodeslice(space, w_slice) - value = space.bufferstr_w(w_value) + value = space.str_w(w_value) if start + len(value) != stop: raise OperationError(space.w_ValueError, space.wrap("cannot resize array")) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit