Steve Dower <steve.do...@python.org> added the comment:

This is because we use libffi as a DLL and you can't statically reference 
dynamically loaded addresses on Windows.

You could change that format table to be initialised on first use, or resolve 
the FFI type lazily. Or change ctypes to statically link libffi (including 
updating our FFI build, which IIRC is the one that requires Cygwin, to generate 
static libraries instead of dynamic) - we can't backport this change, either, 
because it affects the layout on disk.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to