Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f5da02

Browse files
committed
gh-104773: PEP 594: Remove the nntplib module
* socket_helper.transient_internet() no longer imports nntplib to catch nntplib.NNTPTemporaryError.* ssltests.py no longer runs test_nntplib.* "make quicktest" no longer runs test_nntplib.* WASM: remove nntplib from OMIT_NETWORKING_FILES.* Remove mentions to nntplib in the email documentation.
1 parent684e99d commit7f5da02

26 files changed

+33
-3364
lines changed

‎Doc/library/email.generator.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
One of the most common tasks is to generate the flat (serialized) version of
1212
the email message represented by a message object structure. You will need to
13-
do this if you want to send your message via:meth:`smtplib.SMTP.sendmail` or
14-
the:mod:`nntplib` module,or print the message on the console. Taking a
13+
do this if you want to send your message via:meth:`smtplib.SMTP.sendmail`,
14+
or print the message on the console. Taking a
1515
message object structure and producing a serialized representation is the job
1616
of the generator classes.
1717

‎Doc/library/email.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
The:mod:`email` package is a library for managing email messages. It is
1616
specifically *not* designed to do any sending of email messages to SMTP
1717
(:rfc:`2821`), NNTP, or other servers; those are functions of modules such as
18-
:mod:`smtplib` and:mod:`nntplib`. The:mod:`email` package attempts to be as
18+
:mod:`smtplib`. The:mod:`email` package attempts to be as
1919
RFC-compliant as possible, supporting:rfc:`5322` and:rfc:`6532`, as well as
2020
such MIME-related RFCs as:rfc:`2045`,:rfc:`2046`,:rfc:`2047`,:rfc:`2183`,
2121
and:rfc:`2231`.
@@ -141,9 +141,6 @@ Legacy API:
141141
Module:mod:`imaplib`
142142
IMAP (Internet Message Access Protocol) client
143143

144-
Module:mod:`nntplib`
145-
NNTP (Net News Transport Protocol) client
146-
147144
Module:mod:`mailbox`
148145
Tools for creating, reading, and managing collections of messages on disk
149146
using a variety standard formats.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp