From: R David Murray Date: Sat, 16 Mar 2013 01:00:48 +0000 (-0400) Subject: Add missing FeedParser and BytesFeedParser to email.parser.__all__. X-Git-Tag: v3.4.0a1~1194 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fab35877d3c67057d02dac2cac374222c6ca079;p=python Add missing FeedParser and BytesFeedParser to email.parser.__all__. --- diff --git a/Lib/email/parser.py b/Lib/email/parser.py index 752bf35a6e..f49d31d43d 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 4cc52a09ed..a1b25d89a8 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