Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Clean up _ctypes/libffi build, particularly on macOS #100540

Copy link
Copy link
@zware

Description

@zware
Issue body actions

bpo-28491/gh-72677 was closed after bpo-41100/gh-85272, but Modules/_ctypes/libffi_osx wasn't actually removed, just made inaccessible to any build. In the course of figuring out whether it is in fact unused now, I also stumbled across Modules/_ctypes/darwin, which also appears to be a dlfcn.h shim for Mac OS X 10.2 and earlier, and as far as I can tell has been unused for years. And, of course, with no local copy of libffi on any platform anymore, there's no need for --with-system-ffi to stick around, which also pointed me towards a needless -DMACOSX in the macOS build of _ctypes. I'll be attaching a series of PRs for 3.12 (only) removing all of these, each of which can be done independently.

Linked PRs

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.