]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#280)
authorBarry Warsaw <barry@python.org>
Fri, 24 Feb 2017 20:31:48 +0000 (15:31 -0500)
committerGitHub <noreply@github.com>
Fri, 24 Feb 2017 20:31:48 +0000 (15:31 -0500)
Doc/library/smtpd.rst
Misc/NEWS

index 3ebed06260945c04602e3aeb852c55c52523deeb..78f9d7feec4953075f23a23a90e3197c0fa3d329 100644 (file)
 
 This module offers several classes to implement SMTP (email) servers.
 
+.. seealso::
+
+    The `aiosmtpd <http://aiosmtpd.readthedocs.io/>`_ package is a recommended
+    replacement for this module.  It is based on :mod:`asyncio` and provides a
+    more straightforward API.  :mod:`smtpd` should be considered deprecated.
+
 Several server implementations are present; one is a generic
 do-nothing implementation, which can be overridden, while the other two offer
 specific mail-sending strategies.
index 7acaf2fd50e20ef3f1dca86cef44e8f86d527e40..d9e691b2496bd1b1960d5c7a0f60ca7e84eec55c 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,12 @@ Release date: XXXX-XX-XX
 Core and Builtins
 -----------------
 
+Documentation
+-------------
+
+- bpo-25008: Document smtpd.py as effectively deprecated and add a pointer to
+  aiosmtpd, a third-party asyncio-based replacement.
+
 Library
 -------