bpo-47208: Allow vendors to override CTYPES_MAX_ARGCOUNT (GH-32297) by tiran · Pull Request #32297 · python/cpython

Conversation

@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 deleted the bpo-47208-ctypes-max-argcount branch

April 4, 2022 17:13

@hoodmane

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`.

@hoodmane hoodmane mannequin mentioned this pull request

May 5, 2023