Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a1b656

Browse files
authored
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#278)
1 parent f2beceb commit 0a1b656

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Doc/library/smtpd.rst

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313

1414
This module offers several classes to implement SMTP (email) servers.
1515

16+
.. seealso::
17+
18+
The `aiosmtpd <http://aiosmtpd.readthedocs.io/>`_ package is a recommended
19+
replacement for this module. It is based on :mod:`asyncio` and provides a
20+
more straightforward API. :mod:`smtpd` should be considered deprecated.
21+
1622
Several server implementations are present; one is a generic
1723
do-nothing implementation, which can be overridden, while the other two offer
1824
specific mail-sending strategies.

Misc/NEWS

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ What's New in Python 3.6.1 release candidate 1?
1010
Core and Builtins
1111
-----------------
1212

13-
- bpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX.
13+
- bpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX.
1414
Patch by Matthieu Dartiailh.
1515

1616
- bpo-29602: Fix incorrect handling of signed zeros in complex constructor for
@@ -217,6 +217,9 @@ C API
217217
Documentation
218218
-------------
219219

220+
- bpo-25008: Document smtpd.py as effectively deprecated and add a pointer to
221+
aiosmtpd, a third-party asyncio-based replacement.
222+
220223
- Issue #26355: Add canonical header link on each page to corresponding major
221224
version of the documentation. Patch by Matthias Bussonnier.
222225

0 commit comments

Comments
 (0)