The documentation of both modules begin with the following note:
"This module exists for backwards compatibility only. For new code we recommend using asyncio."
What do you mean by deprecating the module? Emit a PendingDeprecationWarning in Python 3.6 and emit a DeprecationWarning in Python 3.7?
> Maybe smtpd.py can be deprecated itself.
Maybe it can be fun to rewrite the module using asyncio, but I'm not convinced that a SMTP server in the Python stdlib is super useful.
(A HTTP server *is* very useful, it saved my life multiple times when I worked on embedded devices without any server available to transfer files.) |