Make `import ctypes` work.
- Temporarily disable code for ctypes that requires class descriptors. - Skip the attribute lookup for __new__ for the base type class and directly call a special function assigned to tp_new. - Add a #define from CPython's ./configure - Add test.
Showing
test/tests/ctypes_import.py
0 → 100644
Please register or sign in to comment