summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-03-16 01:00:48 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-03-16 01:00:48 (GMT)
commit2fab35877d3c67057d02dac2cac374222c6ca079 (patch)
tree3eb1967eaf2652edc3974c53954f5a495d3d6841
parent5efee58014d43d9c7c66f43afece252716e530c1 (diff)
downloadcpython-2fab35877d3c67057d02dac2cac374222c6ca079.zip
cpython-2fab35877d3c67057d02dac2cac374222c6ca079.tar.gz
cpython-2fab35877d3c67057d02dac2cac374222c6ca079.tar.bz2
Add missing FeedParser and BytesFeedParser to email.parser.__all__.
-rw-r--r--Lib/email/parser.py3
-rw-r--r--Misc/NEWS2
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/email/parser.py b/Lib/email/parser.py
index 752bf35..f49d31d 100644
--- a/Lib/email/parser.py
+++ b/Lib/email/parser.py
@@ -4,7 +4,8 @@
"""A parser of RFC 2822 and MIME email messages."""
-__all__ = ['Parser', 'HeaderParser', 'BytesParser', 'BytesHeaderParser']
+__all__ = ['Parser', 'HeaderParser', 'BytesParser', 'BytesHeaderParser',
+ 'FeedParser', 'BytesFeedParser']
import warnings
from io import StringIO, TextIOWrapper
diff --git a/Misc/NEWS b/Misc/NEWS
index 4cc52a0..a1b25d8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -280,6 +280,8 @@ Core and Builtins
Library
-------
+- Added missing FeedParser and BytesFeedParser to email.parser.__all__.
+
- Issue #17431: Fix missing import of BytesFeedParser in email.parser.
- Issue #12921: http.server's send_error takes an explain argument to send more