Matti Picus pushed to branch branch/py3.8 at PyPy / pypy


Commits:
a70a64f4 by Carl Friedrich Bolz-Tereick at 2021-06-12T20:45:26+02:00
(cfbolz, twitch): start passing w_obj to the constructors of the subclasses of
pypy.interpreter.buffer.BufferView

--HG--
branch : py3.8-buffer-gets-w_obj

- - - - -
180c62ab by Carl Friedrich Bolz-Tereick at 2021-06-12T21:07:16+02:00
(cfbolz, twitch): don't store the w_obj on the memoryobject any more, 
instead
return the underlying view's w_obj in the .obj getter

--HG--
branch : py3.8-buffer-gets-w_obj

- - - - -
ed088e16 by Carl Friedrich Bolz-Tereick at 2021-06-12T21:10:55+02:00
(cfbolz, twitch): commit the now passing test that triggered the whole
refactoring

--HG--
branch : py3.8-buffer-gets-w_obj

- - - - -
d367685b by Carl Friedrich Bolz-Tereick at 2021-06-12T21:47:02+02:00
(cfbolz, mattip, twitch): implement memoryview.toreadonly

(we did that by wrapping the underlying with in a new ReadonlyWrapper class,
not 100% sure this is the right design)

--HG--
branch : py3.8-buffer-gets-w_obj

- - - - -
c418d866 by Carl Friedrich Bolz-Tereick at 2021-06-12T21:52:06+02:00
(cfbolz, twitch): fix translation

--HG--
branch : py3.8-buffer-gets-w_obj

- - - - -
ba68d142 by Matti Picus at 2021-06-13T13:25:13+03:00
merge py3.8-buffer-gets-w_obj to py3.8

--HG--
branch : py3.8

- - - - -


18 changed files:

- pypy/interpreter/buffer.py
- pypy/interpreter/test/test_buffer.py
- pypy/module/__pypy__/interp_buffer.py
- pypy/module/__pypy__/test/apptest_picklebuffer.py
- pypy/module/__pypy__/test/test_bytebuffer.py
- pypy/module/_cffi_backend/cbuffer.py
- pypy/module/_io/interp_bufferedio.py
- pypy/module/_io/interp_bytesio.py
- pypy/module/_rawffi/interp_array.py
- pypy/module/_rawffi/interp_rawffi.py
- pypy/module/array/interp_array.py
- pypy/module/cpyext/test/test_memoryobject.py
- pypy/module/mmap/interp_mmap.py
- pypy/objspace/fake/objspace.py
- pypy/objspace/std/bytearrayobject.py
- pypy/objspace/std/bytesobject.py
- pypy/objspace/std/memoryobject.py
- pypy/objspace/std/test/test_memoryobject.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/3431cc210ccd800dae46407b316ab25f9d062518...ba68d1425a1ac0a988db3ceec14fb3125a4e47ae

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/3431cc210ccd800dae46407b316ab25f9d062518...ba68d1425a1ac0a988db3ceec14fb3125a4e47ae
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to