On Mon, Jun 17, 2024 at 1:36 PM Thomas Munro <thomas.mu...@gmail.com> wrote: > Perhaps it's technically possible to build Python without the ctypes > module, but I'm not sure and I don't see anywhere that describes it > explicitly as optional.
One clue is that they used to bundle their own copy of libffi before Python 3.7. You had a choice of that or --with-system-ffi, but I don't see an option for none. I might be missing something about their build system, though.