(from capi-workgroup/problems#54)
New meta-API idea:
Define a macro like Py_NO_LEGACY=0x30c0000 to hide definitions of all API that's deprecated and soft-deprecated in that version.
This is strictly optional, meant for people who tend to like linters.
Users can to set it for new projects to e.g. hide the unnecessary definitions from editor autocompletion.
If and when we add "modern" alternatives to everything, it can make it easier to review things like refcounting.
What's a good name for it?
(from capi-workgroup/problems#54)
New meta-API idea:
Define a macro like
Py_NO_LEGACY=0x30c0000to hide definitions of all API that's deprecated and soft-deprecated in that version.This is strictly optional, meant for people who tend to like linters.
Users can to set it for new projects to e.g. hide the unnecessary definitions from editor autocompletion.
If and when we add "modern" alternatives to everything, it can make it easier to review things like refcounting.
What's a good name for it?