Following [Formalize the concept of “soft deprecation” (don’t schedule removal) in PEP 387 “Backwards Compatibility Policy”](https://discuss.python.org/t/formalize-the-concept-of-soft-deprecation-dont-schedule-removal-in-pep-387-backwards-compatibility-policy/27957) discussion and my PEP PR [PEP 387: Add Soft Deprecation section](https://github.com/python/peps/pull/3182), I propose to add a new ``stdlib_deprecations`` module which provides an API for linters to check if an API is deprecated or not. <!-- gh-linked-prs --> ### Linked PRs * gh-106241 <!-- /gh-linked-prs -->
Activity
pythongh-106240: Add stdlib_deprecations module
pythongh-106240: Add stdlib_deprecations module
pythongh-106240: Add stdlib_deprecations module
JelleZijlstra commentedon Jun 29, 2023
Note that any new stdlib module requires a PEP: https://peps.python.org/pep-0002/#acceptance-procedure
pythongh-106240: Add stdlib_deprecations module
vstinner commentedon Jul 3, 2023
Closed: see #106241 (comment)