On 12. 11. 21 13:51, Victor Stinner wrote:
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 <encu...@gmail.com> 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?

Yes. And as far as I know, they haven't really caused problems in all that time.

_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/S3BDHURSCE3ODZBFOKEW3P2UWIZPEU7R/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to