-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
PEP 743: Make the macro a simple boolean #4595
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
Conversation
Remove the version value.
|
cc @encukou |
|
We should also reconsider the name of the macro. |
Oh right! Since the PEP creates |
|
I like |
|
Ok, let me rename the macro to |
|
@encukou: Would you mind to review the PEP update? Does it look good to you? |
|
Thanks for the changes, it looks good to me (but I'm not the coauthor, so I understand why you're waiting on Petr). |
AA-Turner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be prudent to add a brief mention of the now-removed Py_COMPAT_API_VERSION in Rejected Ideas?
Otherwise, looks good editorially.
A
|
I'd add the implication of not having a versioned macro to Backwards Compatibility; otherwise the change looks fine to me. Thanks! |
Co-Authored-by: Petr Viktorin <encukou@gmail.com>
|
Merged, thank you for reviews.
I don't think that it's worth it. |
* Remove the version value. * Rename the macro to Py_OMIT_LEGACY_API Co-authored-by: Petr Viktorin <encukou@gmail.com>
Remove the version value.
📚 Documentation preview 📚: https://pep-previews--4595.org.readthedocs.build/