Hi Irit, Since it's documented as deprecated, asyncore and asynchat are deprecated as well since Python 3.6 (smtpd uses asynchat), I suggest to remove these 3 modules right now. I would prefer to make such incompatible change early in the development cycle, to give more time to users to adapt their projects.
We should explain to users how to handle this incompatible change in What's New in Python 3.11. IMO suggesting to copy the required modules into their project is an acceptable trade-off. Victor On Wed, Jun 23, 2021 at 2:51 AM Irit Katriel via python-committers <python-committers@python.org> wrote: > > The documentation for smtpd (https://docs.python.org/3/library/smtpd.html) > states that " smtpd should be considered deprecated" and recommends aiosmtpd. > > Are we planning to remove it from the stdlib? Note that at the moment the > smtpd module doesn't emit deprecation warnings, and aiosmtpd is not part of > the stdlib. > > This came up on https://bugs.python.org/issue28533, where we were hoping to > be able to move the (properly) deprecated asyncore and asynhat to > test.support (because there are still a few tests that use them). It seems > that smtpd is that last blocker for that. > > > > > > _______________________________________________ > python-committers mailing list -- python-committers@python.org > To unsubscribe send an email to python-committers-le...@python.org > https://mail.python.org/mailman3/lists/python-committers.python.org/ > Message archived at > https://mail.python.org/archives/list/python-committers@python.org/message/KNF6YQE2O4OLJDNKSGAT4NLZUNCQ5QSH/ > Code of Conduct: https://www.python.org/psf/codeofconduct/ -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ python-committers mailing list -- python-committers@python.org To unsubscribe send an email to python-committers-le...@python.org https://mail.python.org/mailman3/lists/python-committers.python.org/ Message archived at https://mail.python.org/archives/list/python-committers@python.org/message/E42AGUXZZAAXTOWLCDHNRVB7B7LQG3GG/ Code of Conduct: https://www.python.org/psf/codeofconduct/