Zachary Ware added the comment:

OSX and Windows are both exempt from this discussion.  Each has its own private 
copy of an ancient version of libffi: Modules/_ctypes/libffi_osx/ and 
Modules/_ctypes/libffy_msvc/.

I would be in favor of switching to --with-system-ffi by default for 3.6 and 
deprecating building with the bundled full copy of libffi 
(Modules/_ctypes/libffi/), to be removed in 3.7.  OSX would also default to 
--with-system-ffi, but would still fall back to its private copy when a system 
copy isn't available.

It seems like most Linux and BSD distributions would be better off with 
system-ffi.  I'm not sure how cross-builds would have to deal with things in 
3.7, but they already have to deal with dependencies like openssl, bz2, and 
lzma; adding libffi to that mix shouldn't be that big of a deal.

Adding Ned to confirm that building OSX installers wouldn't be affected as long 
as we don't touch Modules/_ctypes/libffi_osx/ and there's not a system copy of 
libffi available.

----------

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

Reply via email to