The current backwards compatibility policy (PEP 387) sets a *minimum*
timeline for deprecations and removals -- "deprecation period must last
at least two years."
About the PEP 387 process and the 3 examples.
On Fri, Nov 12, 2021 at 11:58 AM Petr Viktorin <[email protected]> wrote:
AttributeError: module 'configparser' has no attribute
'SafeConfigParser'. Did you mean: 'RawConfigParser'?
(bpo-45173)
SafeConfigParser was not even documented, was deprecated since Python
3.2, and emitted a DeprecationWarning.
ImportError: cannot import name 'formatargspec' from 'inspect'
(bpo-45320)
It was deprecated in the doc since Python 3.5, and emitted a DeprecationWarning.
AttributeError: '[...]Tests' object has no attribute 'failUnless'
(bpo-45162)
Deprecated in the doc since Python 3.1. It emitted a DeprecationWarning.
But it seems like it's not treated as a minimum
(...)
Note that I am criticizing the *process*
On these examples, the functions were deprecated for way longer than a
minimum of 2 Python versions, no?