This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2021-11-25.11:57:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637841460.9.0.780352638967.issue45898@roundup.psfhosted.org>
In-reply-to
Content
ctypes's cfield.c redefines a couple of symbols like ffi_type_void and others. The symbols are exported by ffi.h and libffi for more than 12 years: https://github.com/libffi/libffi/blame/e1539266e6c6dde3c99832323586f33f977d1dc0/include/ffi.h.in#L184

I think we can safely remove the symbols from the file. The idea is inspired by pyodide patch https://github.com/pyodide/pyodide/blob/main/cpython/patches/remove-duplicate-symbols-from-cfield.c.patch
History
Date User Action Args
2021-11-25 11:57:40christian.heimessetrecipients: + christian.heimes
2021-11-25 11:57:40christian.heimessetmessageid: <1637841460.9.0.780352638967.issue45898@roundup.psfhosted.org>
2021-11-25 11:57:40christian.heimeslinkissue45898 messages
2021-11-25 11:57:40christian.heimescreate