Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PY_SSIZE_T_CLEAN not mandatory again #104922

Closed
methane opened this issue May 25, 2023 · 0 comments
Closed

Make PY_SSIZE_T_CLEAN not mandatory again #104922

methane opened this issue May 25, 2023 · 0 comments
Labels
topic-C-API type-feature A feature request or enhancement

Comments

@methane
Copy link
Member

methane commented May 25, 2023

Feature or enhancement

Use ssize_t version API regardless PY_SSIZE_T_CLEAN is defined.

No change to ABI.

Pitch

After Python 3.12 become EOL, extension developers can forget about PY_SSIZE_T_CLEAN completely.

Previous discussion

https://mail.python.org/archives/list/python-dev@python.org/thread/KSREO43D6GQWO5LMVIU2LF7CP4IBYT2C/#FG44N6RL5CT5O3XQ6UV6LBLUCET7IF6I

Linked PRs

@methane methane added type-feature A feature request or enhancement topic-C-API labels May 25, 2023
@AlexWaygood AlexWaygood changed the title Make PY_SSIZE_T_CLEAN not mandatolly again Make PY_SSIZE_T_CLEAN not mandatory again May 25, 2023
@methane methane closed this as completed May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-C-API type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant