Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner 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
MemberAuthor

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.

@vstinnervstinner merged commit 3535ef1 into python:mainJul 18, 2023
@vstinnervstinner deleted the doc_soft_deprecation branch July 18, 2023 15:13
@vstinner
Copy link
MemberAuthor

Merged, thanks for the review Serhiy.

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

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@serhiy-storchaka@bedevere-bot