diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2012-02-23 08:10:44 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2012-02-23 08:10:44 -0500 |
commit | a4ffd587fad7d2442a9ccdcdd0a8f6df347f39eb (patch) | |
tree | 268a3c4fb76c48bacf1cd9173bfd34938795860a /NEWS.txt | |
parent | 60cb51632dce022d1a4aff18500d286e58e0bd5c (diff) | |
parent | 0aa065cb9ef6ae76640b6b0e7d43d687d9db39cd (diff) |
Removed unit tests that test different parsers' behavior on invalid markup, and replace them with informative comparisons generated by demonstrate_parser_differences.py.
Diffstat (limited to 'NEWS.txt')
-rw-r--r-- | NEWS.txt | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -1,4 +1,4 @@ -= 4.0.0b7 () = += 4.0.0b7 (20110223) = * Upon decoding to string, any characters that can't be represented in your chosen encoding will be converted into numeric XML entity @@ -14,6 +14,19 @@ * It's now possible to deepcopy a BeautifulSoup object created with Python's built-in HTML parser. +* About 100 unit tests that "test" the behavior of various parsers on + invalid markup have been removed. Legitimate changes to those + parsers caused these tests to fail, indicating that perhaps + Beautiful Soup should not test the behavior of foreign + libraries. + + The problematic unit tests have been reformulated as informational + comparisons generated by the script + scripts/demonstrate_parser_differences.py. + + This makes Beautiful Soup compatible with html5lib version 0.95 and + future versions of HTMLParser. + = 4.0.0b6 (20110216) = * Multi-valued attributes like "class" always have a list of values, |