STINNER Victor added the comment:

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.)

----------
nosy: +haypo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25002>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to