[Python-checkins] cpython: Add missing FeedParser and BytesFeedParser to email.parser.__all__.
r.david.murray
python-checkins at python.org
Sat Mar 16 02:08:18 CET 2013
http://hg.python.org/cpython/rev/07e0cd0d39b3
changeset: 82677:07e0cd0d39b3
user: R David Murray <rdmurray at bitdance.com>
date: Fri Mar 15 21:00:48 2013 -0400
summary:
Add missing FeedParser and BytesFeedParser to email.parser.__all__.
files:
Lib/email/parser.py | 3 ++-
Misc/NEWS | 2 ++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Lib/email/parser.py b/Lib/email/parser.py
--- 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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -280,6 +280,8 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list