mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge: #17431: Fix missing import of BytesFeedParser in email.parser.
This commit is contained in:
commit
5efee58014
4 changed files with 8 additions and 1 deletions
|
@ -9,7 +9,7 @@ __all__ = ['Parser', 'HeaderParser', 'BytesParser', 'BytesHeaderParser']
|
|||
import warnings
|
||||
from io import StringIO, TextIOWrapper
|
||||
|
||||
from email.feedparser import FeedParser
|
||||
from email.feedparser import FeedParser, BytesFeedParser
|
||||
from email.message import Message
|
||||
from email._policybase import compat32
|
||||
|
||||
|
|
|
@ -36,6 +36,10 @@ from email import quoprimime
|
|||
from test.support import unlink
|
||||
from test.test_email import openfile, TestEmailBase
|
||||
|
||||
# These imports are documented to work, but we are testing them using a
|
||||
# different path, so we import them here just to make sure they are importable.
|
||||
from email.parser import FeedParser, BytesFeedParser
|
||||
|
||||
NL = '\n'
|
||||
EMPTYSTRING = ''
|
||||
SPACE = ' '
|
||||
|
|
|
@ -173,6 +173,7 @@ Jan-Hein Bührman
|
|||
Dick Bulterman
|
||||
Bill Bumgarner
|
||||
Jimmy Burgett
|
||||
Edmond Burnett
|
||||
Tommy Burnette
|
||||
Roger Burnham
|
||||
Alastair Burt
|
||||
|
|
|
@ -280,6 +280,8 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #17431: Fix missing import of BytesFeedParser in email.parser.
|
||||
|
||||
- Issue #12921: http.server's send_error takes an explain argument to send more
|
||||
information in response. Patch contributed by Karl.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue