Matti Picus pushed to branch branch/py3.10 at PyPy / pypy
Commits: 0edadb96 by Matti Picus at 2023-01-15T09:21:40+02:00 update error msg in test to 3.10 semantics --HG-- branch : py3.10 - - - - - 8d452f8f by Matti Picus at 2023-01-15T10:07:44+02:00 move rarely-used PyNumber_Check and PyIndex_Check to C, and add correct complex number handling --HG-- branch : py3.10 - - - - - aa1c2c7e by Matti Picus at 2023-01-15T11:28:38+02:00 add slot function for tp_as_number.nb_index, fix test --HG-- branch : py3.10 - - - - - f98d7aaa by Matti Picus at 2023-01-15T11:30:42+02:00 I think this is right (and it fixes a failing test) If the slot is missing from the w_type, do not fill the slot function --HG-- branch : py3.10 - - - - - 8 changed files: - pypy/module/cpyext/api.py - pypy/module/cpyext/include/abstract.h - pypy/module/cpyext/number.py - pypy/module/cpyext/src/complexobject.c - pypy/module/cpyext/test/test_number.py - pypy/module/cpyext/typeobject.py - pypy/module/cpyext/userslot.py - pypy/objspace/std/test/apptest_complexobject.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/50a0af5fde491956cdd483fa3ff93f59e85a68f6...f98d7aaa81625d0b0afc0978a5fb6739d66adeb8 -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/50a0af5fde491956cdd483fa3ff93f59e85a68f6...f98d7aaa81625d0b0afc0978a5fb6739d66adeb8 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