@@ -1663,34 +1663,34 @@ during debugging, instead of integer "magic numbers".
1663
1663
smtpd
1664
1664
-----
1665
1665
1666
- Both the :class: `~smtpd. SMTPServer ` and :class: `~smtpd. SMTPChannel ` classes now
1666
+ Both the :class: `! SMTPServer ` and :class: `! SMTPChannel ` classes now
1667
1667
accept a *decode_data * keyword argument to determine if the ``DATA `` portion of
1668
1668
the SMTP transaction is decoded using the ``"utf-8" `` codec or is instead
1669
1669
provided to the
1670
- :meth: `SMTPServer.process_message() <smtpd.SMTPServer.process_message> `
1670
+ :meth: `! SMTPServer.process_message() `
1671
1671
method as a byte string. The default is ``True `` for backward compatibility
1672
1672
reasons, but will change to ``False `` in Python 3.6. If *decode_data * is set
1673
1673
to ``False ``, the ``process_message `` method must be prepared to accept keyword
1674
1674
arguments.
1675
1675
(Contributed by Maciej Szulik in :issue: `19662 `.)
1676
1676
1677
- The :class: `~smtpd. SMTPServer ` class now advertises the ``8BITMIME `` extension
1677
+ The :class: `! SMTPServer ` class now advertises the ``8BITMIME `` extension
1678
1678
(:rfc: `6152 `) if *decode_data * has been set ``True ``. If the client
1679
1679
specifies ``BODY=8BITMIME `` on the ``MAIL `` command, it is passed to
1680
- :meth: `SMTPServer.process_message() <smtpd.SMTPServer.process_message> `
1680
+ :meth: `! SMTPServer.process_message() `
1681
1681
via the *mail_options * keyword.
1682
1682
(Contributed by Milan Oberkirch and R. David Murray in :issue: `21795 `.)
1683
1683
1684
- The :class: `~smtpd. SMTPServer ` class now also supports the ``SMTPUTF8 ``
1684
+ The :class: `! SMTPServer ` class now also supports the ``SMTPUTF8 ``
1685
1685
extension (:rfc: `6531 `: Internationalized Email). If the client specified
1686
1686
``SMTPUTF8 BODY=8BITMIME `` on the ``MAIL `` command, they are passed to
1687
- :meth: `SMTPServer.process_message() <smtpd.SMTPServer.process_message> `
1687
+ :meth: `! SMTPServer.process_message() `
1688
1688
via the *mail_options * keyword. It is the responsibility of the
1689
1689
``process_message `` method to correctly handle the ``SMTPUTF8 `` data.
1690
1690
(Contributed by Milan Oberkirch in :issue: `21725 `.)
1691
1691
1692
1692
It is now possible to provide, directly or via name resolution, IPv6
1693
- addresses in the :class: `~smtpd. SMTPServer ` constructor, and have it
1693
+ addresses in the :class: `! SMTPServer ` constructor, and have it
1694
1694
successfully connect. (Contributed by Milan Oberkirch in :issue: `14758 `.)
1695
1695
1696
1696
@@ -2296,9 +2296,9 @@ slated for removal in Python 3.6.
2296
2296
The :func: `asyncio.async ` function is deprecated in favor of
2297
2297
:func: `~asyncio.ensure_future `.
2298
2298
2299
- The :mod: `smtpd ` module has in the past always decoded the DATA portion of
2299
+ The :mod: `! smtpd ` module has in the past always decoded the DATA portion of
2300
2300
email messages using the ``utf-8 `` codec. This can now be controlled by the
2301
- new *decode_data * keyword to :class: `~smtpd. SMTPServer `. The default value is
2301
+ new *decode_data * keyword to :class: `! SMTPServer `. The default value is
2302
2302
``True ``, but this default is deprecated. Specify the *decode_data * keyword
2303
2303
with an appropriate value to avoid the deprecation warning.
2304
2304
0 commit comments