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


Commits:
dac42c13 by Matti Picus at 2023-11-27T22:16:58+02:00
test, fix setting pyobj.tp_basicsize on legacy types

Still need to set pyobj.tp_as_buffer.bf_getbuffer, since it is expected to be on
the c-level pyobj

--HG--
branch : py3.9

- - - - -
3a139fa8 by Matti Picus at 2023-11-28T16:55:29+02:00
add non-functional _ctypes.PyObj_FromPtr (fixes test error)

--HG--
branch : py3.9

- - - - -
28c0f384 by Matti Picus at 2023-11-28T17:18:33+02:00
more bytearray fixes: end cannot be longer than len() or it picks up the NULL 
byte

--HG--
branch : py3.9

- - - - -
54cfb132 by Matti Picus at 2023-11-29T00:53:35+02:00
add reflection of applevel __buffer__ to tp_as_buffer.bf_getbuffer when 
creating a PyTypeObject

--HG--
branch : py3.9

- - - - -
7672b7e3 by Matti Picus at 2023-11-29T00:55:19+02:00
hack to make legacy hpytypes reflect the HPy_bf_getbuffer into the PyObject

Should all the slot be reflected?

--HG--
branch : py3.9

- - - - -


12 changed files:

- lib_pypy/_ctypes/__init__.py
- pypy/module/_hpy_universal/interp_cpy_compat.py
- pypy/module/_hpy_universal/interp_slot.py
- pypy/module/_hpy_universal/interp_type.py
- pypy/module/_hpy_universal/test/_vendored/test_hpytype_legacy.py
- pypy/module/_hpy_universal/test/_vendored/test_slots_legacy.py
- pypy/module/cpyext/slotdefs.py
- pypy/module/cpyext/test/test_buffer.py
- pypy/module/cpyext/userslot.py
- pypy/objspace/std/bytearrayobject.py
- pypy/objspace/std/test/test_bytearrayobject.py
- pypy/objspace/std/typeobject.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/193349d9d07802c6adf553e89bd3e1b175974d02...7672b7e352a61f6d090ad469989e2eb47232b5bb

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/193349d9d07802c6adf553e89bd3e1b175974d02...7672b7e352a61f6d090ad469989e2eb47232b5bb
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com

Reply via email to