Matti Picus pushed to branch branch/py3.10 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

- - - - -
d349e5ff by Matti Picus at 2023-11-29T08:23:01+02:00
prevent overflow in index calculations

--HG--
branch : py3.9

- - - - -
786afd6b by Matti Picus at 2023-11-29T13:45:14+02:00
make sure an encoding does not have invalid surrogates

--HG--
branch : py3.9

- - - - -
f5273fb7 by Matti Picus at 2023-11-29T23:32:39+02:00
add create_pyobject_from_storage and use the HPy storage as the PyObject c 
struct.

Also rearrange the type creation so that legacy types call `attach` to fill all
the slots

--HG--
branch : py3.9

- - - - -
37fe391b by Matti Picus at 2023-12-01T00:32:40+02:00
try to debug test failure that does not reproduce locally

--HG--
branch : py3.9

- - - - -
e6a35834 by Matti Picus at 2023-12-01T01:28:52+02:00
fix some storagesize and tp_basicsize errors, assert on missing tp_traverse

See hyp issue #460

--HG--
branch : py3.9

- - - - -
b60cd09a by Matti Picus at 2023-12-01T07:51:58+02:00
debugging cruft broke the world

--HG--
branch : py3.9

- - - - -
ae599f9f by Matti Picus at 2023-12-01T14:27:21+02:00
increment ob_refcnt when creating a pyobject, raise if the pyobject already 
exists

--HG--
branch : py3.9

- - - - -
026969dc by Matti Picus at 2023-12-01T14:45:55+02:00
convert data to list

--HG--
branch : py3.9

- - - - -
4321d239 by Matti Picus at 2023-12-03T15:14:25+02:00
align cpeyext use of PyBUF_MAX_NDIM with python3

- - - - -
021010a4 by Matti Picus at 2023-12-02T22:00:37+02:00
refactor and fix for *termios and const *winsize in rposix.py (issue #4042)

- - - - -
89cc5a14 by Matti Picus at 2023-12-03T10:06:38+02:00
limit ndims on buffer exports from memoryview to 64 (issue #4041)

The limit is specified in 
https://docs.python.org/3/c-api/buffer.html#c.PyBUF_MAX_NDIM

--HG--
branch : py3.9

- - - - -
47065564 by Matti Picus at 2023-12-05T13:37:45+02:00
in _cffi_backend use header parsing of parse_c_type.h instead of rffi.CStruct 
declarations

Also use casting to reduce pointer incompatibilities

- - - - -
41be5f2b by Matti Picus at 2023-12-05T15:54:52+02:00
clean up some (overly?) pedantic GCC warnings in rvmprof (issue #4042)

PyPy-specific changes to common code should be upstreamed

- - - - -
908b8bfa by Matti Picus at 2023-12-05T15:57:12+02:00
merge default

--HG--
branch : py3.9

- - - - -
8fba8590 by Matti Picus at 2023-12-05T20:26:04+02:00
cpython raises a ValueError if memoryview has too many dimensions

--HG--
branch : py3.9

- - - - -
b32ba2a3 by Matti Picus at 2023-12-05T21:57:26+02:00
make the hpy llapi cpython api declarations match more closely (issue #4042)

--HG--
branch : py3.9

- - - - -
6c678f90 by Matti Picus at 2023-12-06T23:03:20+02:00
tweak llapi declarations to fix pedantic gcc warnings (issue #4042)

--HG--
branch : py3.9

- - - - -
438e97d4 by Matti Picus at 2023-12-06T23:04:39+02:00
merge py3.9

--HG--
branch : py3.10

- - - - -


30 changed files:

- extra_tests/hpy_tests/_vendored/test_capsule.py
- lib_pypy/_ctypes/__init__.py
- pypy/module/_cffi_backend/call_python.py
- pypy/module/_cffi_backend/ccallback.py
- pypy/module/_cffi_backend/cdlopen.py
- pypy/module/_cffi_backend/ffi_obj.py
- pypy/module/_cffi_backend/lib_obj.py
- pypy/module/_cffi_backend/parse_c_type.py
- pypy/module/_cffi_backend/realize_c_type.py
- pypy/module/_cffi_backend/test/test_parse_c_type.py
- pypy/module/_cffi_backend/test/test_recompiler.py
- pypy/module/_hpy_universal/interp_cpy_compat.py
- pypy/module/_hpy_universal/interp_field.py
- pypy/module/_hpy_universal/interp_slot.py
- pypy/module/_hpy_universal/interp_type.py
- pypy/module/_hpy_universal/llapi.py
- pypy/module/_hpy_universal/test/_vendored/test_capsule.py
- pypy/module/_hpy_universal/test/_vendored/test_hpytype_legacy.py
- pypy/module/_hpy_universal/test/_vendored/test_slots_legacy.py
- pypy/module/cpyext/api.py
- pypy/module/cpyext/memoryobject.py
- pypy/module/cpyext/parse/cpyext_object.h
- 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/memoryobject.py
- pypy/objspace/std/test/test_bytearrayobject.py
- pypy/objspace/std/test/test_bytesobject.py
- pypy/objspace/std/test/test_memoryobject.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/1e0fb3425effb0d548c9bdae3621846452dc6f20...438e97d4d84e028c2439d97fecac86167b4cbe5e

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/1e0fb3425effb0d548c9bdae3621846452dc6f20...438e97d4d84e028c2439d97fecac86167b4cbe5e
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