summaryrefslogtreecommitdiff
path: root/TODO.txt
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-02-24 10:37:47 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-02-24 10:37:47 -0500
commita327170e0a7c3ab06031258cc658e53b4fb22c9b (patch)
tree182c959a7be3fc2b7de83b42181651ce0d1e5f35 /TODO.txt
parentad2d7d1725743253a21dc94bb9c02a1fbcd5f6e7 (diff)
downloadbeautifulsoup4-a327170e0a7c3ab06031258cc658e53b4fb22c9b.tar.gz
Warn when SoupStrainer is used with the html5lib tree builder.
Diffstat (limited to 'TODO.txt')
-rw-r--r--TODO.txt29
1 files changed, 7 insertions, 22 deletions
diff --git a/TODO.txt b/TODO.txt
index 61f9aee..e57d799 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,29 +1,14 @@
-Bugs
-----
-
-* html5lib doesn't support SoupStrainers, which is OK, but there
- should be a warning about it.
-
-Big features
-------------
-
-* Add namespace support.
-
Optimizations
-------------
-markup_attr_map can be optimized since it's always a map now.
-
-BS3 features not yet ported
----------------------------
+The html5lib tree builder doesn't use the standard tree-building API,
+which worries me. (This may also be why the tree builder doesn't
+support SoupStrainers, but I think that has more to do with the fact
+that the html5lib tree builder is constantly rearranging the tree, and
+will crash if something it parsed earlier didn't actually make it into
+the tree.)
-* In BS3, "soup.aTag" is the same as 'soup.find("a")'. This lets you
-locate a tag called (let's say) "find" with attribute
-access. "soup.find" won't do what you want, but "soup.findTag" will.
-
-This still works In BS4 but it's deprecated. I could make
-"soup.find_tag" work the same way as "soup.find('find')", but I don't
-think it's worth it.
+markup_attr_map can be optimized since it's always a map now.
CDATA
-----