On Fri, Nov 12, 2021 at 4:16 AM Victor Stinner <vstin...@python.org> wrote:
> > > It was decided to start deprecating the asyncore, asynchat and smtpd > > > modules in Python 3.6 released in 2016, 5 years ago. Python 3.10 emits > > > DeprecationWarning. > > > > Wait, only Python 3.10? > > According to the policy, the warning should be there for *at least* two > > releases. (That's a minimum, for removing entire modules it might make > > sense to give people even more time.) > > The PEP 387 says "Similarly a feature cannot be removed without notice > between any two consecutive releases." > > It is the case here. The 3 modules are marked as deprecated for 4 > releases in the documentation: Python 3.6, 3.7, 3.9 and 3.10. Example: > https://docs.python.org/3.6/library/asyncore.html > But have they been raising exceptions for two releases?
_______________________________________________ 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/6VQPRSUR3XAOKQBGEIT6XA2XST6JDDFT/ Code of Conduct: http://python.org/psf/codeofconduct/