X Tutup
Skip to content

bpo-41100: ctypes fixes for arm64 Mac OS#21249

Closed
lawrence-danna-apple wants to merge 10 commits intopython:masterfrom
lawrence-danna-apple:postback-ctypes-combined
Closed

bpo-41100: ctypes fixes for arm64 Mac OS#21249
lawrence-danna-apple wants to merge 10 commits intopython:masterfrom
lawrence-danna-apple:postback-ctypes-combined

Conversation

@lawrence-danna-apple
Copy link
Contributor

@lawrence-danna-apple lawrence-danna-apple commented Jul 1, 2020

Posted in response to this comment by Ronald #21242 (comment)

This PR would supersede these two, combining because the third commit depends on both

This has three commits:

  • ctypes: use the correct ABI for variadic functions
  • use system libffi for Mac OS 10.15 and up
  • setup.py: probe libffi for ffi_closure_alloc and ffi_prep_cif_var

The first two are from those previous PRs. The third makes setup.py probe for those functions by searching libffi's headers.

https://bugs.python.org/issue41100

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

X Tutup