Author: Manuel Jacob Branch: refactor-buffer-api Changeset: r66438:20c2a7b94341 Date: 2013-08-30 01:20 +0100 http://bitbucket.org/pypy/pypy/changeset/20c2a7b94341/
Log: Try to fix translation. diff --git a/pypy/module/__builtin__/interp_memoryview.py b/pypy/module/__builtin__/interp_memoryview.py --- a/pypy/module/__builtin__/interp_memoryview.py +++ b/pypy/module/__builtin__/interp_memoryview.py @@ -72,6 +72,8 @@ else: buf = buffer.SubBuffer(buf, offset, size) return W_Buffer(buf) + # hack to fix translation + descr_new.__get__('foo').__name__ = 'descr_new_buffer' def descr_len(self, space): return space.wrap(self.buf.getlength()) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit