diff options
author | R. David Murray <rdmurray@bitdance.com> | 2010-12-03 15:26:36 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2010-12-03 15:26:36 (GMT) |
commit | a818394053c1a6361448fa8f18a182435fbabb53 (patch) | |
tree | aca06cddb7160cc38537478e403e42758c070837 | |
parent | 032603efb64713a55481b738dc21141600c67a5a (diff) | |
download | cpython-a818394053c1a6361448fa8f18a182435fbabb53.zip cpython-a818394053c1a6361448fa8f18a182435fbabb53.tar.gz cpython-a818394053c1a6361448fa8f18a182435fbabb53.tar.bz2 |
Blocked revisions 86952-86953 via svnmerge
........
r86952 | r.david.murray | 2010-12-02 23:06:39 -0500 (Thu, 02 Dec 2010) | 12 lines
#1486713: Add a tolerant mode to HTMLParser.
The motivation for adding this option is that the the functionality it
provides used to be provided by sgmllib in Python2, and was used by,
for example, BeautifulSoup. Without this option, the Python3 version
of BeautifulSoup and the many programs that use it are crippled.
The original patch was by 'kxroberto'. I modified it heavily but kept his
heuristics and test. I also added additional heuristics to fix #975556,
#1046092, and part of #6191. This patch should be completely backward
compatible: the behavior with the default strict=True is unchanged.
........
r86953 | r.david.murray | 2010-12-02 23:26:18 -0500 (Thu, 02 Dec 2010) | 2 lines
Add missing versionchanged, correct 'throw' wording to 'raise'.
........
0 files changed, 0 insertions, 0 deletions