From 2fab35877d3c67057d02dac2cac374222c6ca079 Mon Sep 17 00:00:00 2001 From: R David Murray Date: Fri, 15 Mar 2013 21:00:48 -0400 Subject: [PATCH] Add missing FeedParser and BytesFeedParser to email.parser.__all__. --- Lib/email/parser.py | 3 ++- Misc/NEWS | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Lib/email/parser.py b/Lib/email/parser.py index 752bf35a6e1..f49d31d43df 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 4cc52a09ed9..a1b25d89a83 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