Skip to content

Conversation

@tiran
Copy link
Member

@tiran tiran commented Apr 4, 2022

@tiran tiran changed the title bpo-47208: Allow vendors to override CTYPES_MAX_ARGCOUNT bpo-47208: Allow vendors to override CTYPES_MAX_ARGCOUNT (GH-32297) Apr 4, 2022
@tiran tiran merged commit d1b1c88 into python:main Apr 4, 2022
@tiran tiran deleted the bpo-47208-ctypes-max-argcount branch April 4, 2022 17:13
@hoodmane
Copy link
Contributor

hoodmane commented Apr 4, 2022

Ideally the library should be able to define a different macro, e.g., CTYPES_CUSTOM_MAX_ARGCOUNT. This way libffi can define this and it is backwards compatible to older Python versions without causing Warning: "CTYPES_MAX_ARGCOUNT redefined`.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants