lp:~mszamot-gmail/beautifulsoup/beautifulsoup
- Get this branch:
- bzr branch lp:~mszamot-gmail/beautifulsoup/beautifulsoup
Branch merges
- Leonard Richardson: Pending requested
-
Diff: 316 lines (+222/-23)2 files modifiedbs4/element.py (+78/-23)
bs4/tests/test_soup.py (+144/-0)
Branch information
Recent revisions
- 307. By Marcin Szamotulski
-
Added proper generators and tests: Tag.next_elements, Tag.previous_
elements,
Tag.next_siblings, Tag.previous_siblings, Tag.parents. - 305. By Marcin Szamotulski
-
Make descendants a proper generator. This makes possible to resume iteration
at a given node, which is important when one replaces nodes. - 303. By Leonard Richardson
-
The html.parser treebuilder can now handle numeric attributes in
text when the hexidecimal name of the attribute starts with a
capital X. - 302. By Leonard Richardson
-
Reverted the patch that gives NavigableString a .name property, because that's too big an API change for a bugfix release.
- 301. By Leonard Richardson
-
The default XML formatter will now replace ampersands even if they appear to be part of entities. That is, "<" will become "&lt;".[bug=1182183]
- 300. By Leonard Richardson
-
A NavigableString object now has an immutable '.name' property whose
value is always None. This makes it easier to iterate over a mixed
list of tags and strings without having to check whether each
element is a tag or a string. - 298. By Leonard Richardson
-
The .next_element attribute used during parsing was confusingly similar to the .next_element navigation attribute. Renamed the former to _most_recent_
element.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:beautifulsoup