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

gh-106535: Document soft deprecations in What's New In Python 3.13 #106859

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jul 18, 2023

@serhiy-storchaka
Copy link
Member

I think there is a large difference between these cases. PyModule_AddObject() is broken by implementation and cannot be fixed. It will be deprecated at compile time in future, but perhaps kept for a time. On other hand, getopt is a simple module with an interface familiar to users of other programming languages. It is a cross-language standard. I think it should never be removed.

@vstinner
Copy link
Member Author

If later, PyModule_AddObject() follows a regular deprecation with planned removal, it can be documented like that. Now it's soft deprecated, so i just announce it in What's New In Python 3.13.

@vstinner vstinner merged commit 3535ef1 into python:main Jul 18, 2023
21 checks passed
@vstinner vstinner deleted the doc_soft_deprecation branch July 18, 2023 15:13
@vstinner
Copy link
Member Author

Merged, thanks for the review Serhiy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants