13 Commits

Author SHA1 Message Date
Shahar Naveh
9c188b4da9 Update ctypes to 3.14.5 (#7899) 2026-05-17 20:54:56 +09:00
CPython Developers
4b7f1f8751 Update ctypes from v3.14.3 2026-02-18 03:09:55 +09:00
Jeong, YunWon
ba6d7b5404 Unmark failing markers 2026-02-11 18:38:10 +09:00
Jeong YunWon
03d6f4634f Upgrade ctypes to Python v3.13.11 2025-12-24 00:13:30 +09:00
Jeong YunWon
987216bcb8 enable ctypes 2025-12-24 00:13:30 +09:00
Jeong, YunWon
6782fa2219 ctypes buffer (#6311)
* Fix array

* from buffer

* AsBuffer

* Fix instruction

* constructable pointer

* thunk

* in_dll

* fix sizeof/alignment
2025-11-29 21:17:04 +09:00
Jeong, YunWon
23ec5a55ad Fix import ctypes and Lib/ctypes/__init__.py from cpython3.13.9 (#6304)
* Fix ctypes import blockers

* Update Lib/ctypes/__init__.py from cpython3.13.9
2025-11-29 01:32:52 +09:00
Yash Suthar
b6e8a875ac Resolve number slots via MRO in PyNumber and operator, ensure inherit… (#6222)
* Resolve number slots via MRO in PyNumber and operator, ensure inherited and dynamically added methods are found.

Use class().mro_find_map() to mimic the same behaviour as CPython.

Signed-off-by: Yash Suthar <yashsuthar983@gmail.com>
2025-10-28 12:00:22 +09:00
Ashwin Naren
01d470ff77 _ctypes pt. 4 (#5582)
* correct error type when symbol is not found

* restype get/set

* base of PyCSimple for PyCArray

* PyCSimple::to_arg

* par down ctypes

* nt._LOAD_LIBRARY_SEARCH_DEFAULT_DIRS

* arguments for ctypes function

* force failure to import ctypes
2025-03-25 09:09:29 +09:00
Ashwin Naren
f0fb375028 update numbers tests 2025-01-17 15:48:59 -08:00
0c69391bbd Copy test for numbers.py from v3.12.3 2024-11-10 00:15:21 +09:00
Padraic Fanning
019be59079 Add ctypes/test/*.py from CPython 3.11 2023-01-17 21:12:17 -05:00
not_joon
09ff71105a add Lib/ctypes from cpython 3.11 2023-01-15 17:08:30 +09:00