Merge: #17431: Fix missing import of BytesFeedParser in email.parser.
This commit is contained in:
commit
8093d6f822
@ -9,7 +9,7 @@ __all__ = ['Parser', 'HeaderParser', 'BytesParser', 'BytesHeaderParser']
|
|||||||
import warnings
|
import warnings
|
||||||
from io import StringIO, TextIOWrapper
|
from io import StringIO, TextIOWrapper
|
||||||
|
|
||||||
from email.feedparser import FeedParser
|
from email.feedparser import FeedParser, BytesFeedParser
|
||||||
from email.message import Message
|
from email.message import Message
|
||||||
from email._policybase import compat32
|
from email._policybase import compat32
|
||||||
|
|
||||||
|
@ -36,6 +36,10 @@ from email import quoprimime
|
|||||||
from test.support import unlink
|
from test.support import unlink
|
||||||
from test.test_email import openfile, TestEmailBase
|
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'
|
NL = '\n'
|
||||||
EMPTYSTRING = ''
|
EMPTYSTRING = ''
|
||||||
SPACE = ' '
|
SPACE = ' '
|
||||||
|
@ -172,6 +172,7 @@ Jan-Hein Bührman
|
|||||||
Dick Bulterman
|
Dick Bulterman
|
||||||
Bill Bumgarner
|
Bill Bumgarner
|
||||||
Jimmy Burgett
|
Jimmy Burgett
|
||||||
|
Edmond Burnett
|
||||||
Tommy Burnette
|
Tommy Burnette
|
||||||
Roger Burnham
|
Roger Burnham
|
||||||
Alastair Burt
|
Alastair Burt
|
||||||
|
@ -193,6 +193,8 @@ Core and Builtins
|
|||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #17431: Fix missing import of BytesFeedParser in email.parser.
|
||||||
|
|
||||||
- Issue #1285086: Get rid of the refcounting hack and speed up
|
- Issue #1285086: Get rid of the refcounting hack and speed up
|
||||||
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().
|
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user