From 1698babd1b4bb3416e51c3542b7d0bf28d57b736 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Wed, 1 May 2013 16:09:34 +0300 Subject: #14679: add an __all__ (that contains only HTMLParser) to html.parser. --- Lib/html/parser.py | 2 ++ Misc/NEWS | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Lib/html/parser.py b/Lib/html/parser.py index f8ac828..485f6fa 100644 --- a/Lib/html/parser.py +++ b/Lib/html/parser.py @@ -12,6 +12,8 @@ import _markupbase import re import warnings +__all__ = ['HTMLParser'] + # Regular expressions used for parsing interesting_normal = re.compile('[&<]') diff --git a/Misc/NEWS b/Misc/NEWS index ee4c73a9..bce32d9 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -10,6 +10,8 @@ What's New in Python 3.4.0 Alpha 1? Core and Builtins ----------------- +- Issue #14679: add an __all__ (that contains only HTMLParser) to html.parser. + - Issue #17853: Ensure locals of a class that shadow free variables always win over the closures. -- cgit v0.12 From 8dff4bd7afbec4ed446791209bf89f9ca6679336 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Wed, 1 May 2013 16:13:45 +0300 Subject: Move NEWS entry to the right section. --- Misc/NEWS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index bce32d9..3dce054 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -10,8 +10,6 @@ What's New in Python 3.4.0 Alpha 1? Core and Builtins ----------------- -- Issue #14679: add an __all__ (that contains only HTMLParser) to html.parser. - - Issue #17853: Ensure locals of a class that shadow free variables always win over the closures. @@ -62,6 +60,8 @@ Core and Builtins Library ------- +- Issue #14679: add an __all__ (that contains only HTMLParser) to html.parser. + - Issue #17358: Modules loaded by imp.load_source() and load_compiled() (and by extention load_module()) now have a better chance of working when reloaded. -- cgit v0.12