• Rudi Chen's avatar
    Make `import ctypes` work. · 719d4e91
    Rudi Chen authored
    - 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.
    719d4e91
objmodel.cpp 209 KB