This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients eric.araujo, ezio.melotti, georg.brandl, r.david.murray
Date 2012-06-20.09:42:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The deprecation plan for the strict mode of HTMLParser might be as follow:

3.3 (before the beta)
strict=False default
strict arg deprecated in the doc
strict=True deprecated (raises a warning)
HTMLParseError deprecated
HTMLParser.error deprecated (raises a warning)
calls to HTMLParser.error removed/converted to asserts

strict arg deprecated (raises a warning)

strict arg removed and strict code removed
HTMLParseError removed
HTMLParser.error removed

Everything that is parsed by strict=True is parsed by strict=False too, so changing the default shouldn't be a problem.  The difference is that strict=False won't raise any error and will parse broken markup too.  Given that no errors are raised HTMLParseError and HTMLParser.error become useless and can be deprecated (3.3) and removed (3.5) too.
Once strict=False is the default (3.3), the instances should be created simply with HTMLParser(), and eventually the strict argument will be deprecated (3.4) and removed (3.5).
Date User Action Args
2012-06-20 09:42:51ezio.melottisetrecipients: + ezio.melotti, georg.brandl, eric.araujo, r.david.murray
2012-06-20 09:42:51ezio.melottisetmessageid: <>
2012-06-20 09:42:50ezio.melottilinkissue15114 messages
2012-06-20 09:42:49ezio.melotticreate