beautifulsoup:strainer-type-improvements

Last commit made on 2023-04-11
Get this branch:
git clone -b strainer-type-improvements https://git.launchpad.net/beautifulsoup
Only Leonard Richardson can upload to this branch. If you are Leonard Richardson please log in for upload directions.

Branch merges

Branch information

Name:
strainer-type-improvements
Repository:
lp:beautifulsoup

Recent commits

db78010... by Leonard Richardson

Issue a warning if given a parse_only filter that's going to exclude everything.

7044f2a... by Leonard Richardson

Settled the question of parse_only = a SoupStrainer that contains both tag and string restrictions.

dbe45e6... by Leonard Richardson

Added some more tests exploring weird behavior around parse_only.

847b184... by Leonard Richardson

Added SoupStrainer examples from the documentation as unit tests, partly because I don't understand how some of the existing code works.

11eb351... by Leonard Richardson

Added SoupStrainer examples from the documentation as unit tests, partly because I don't understand how some of the existing code works.

82b4273... by Leonard Richardson

Define matches_any_string_rule to refactor some common code.

34ed3a4... by Leonard Richardson

Got the matches_tag tests to also test allow_tag_creation.

08e75d4... by Leonard Richardson

Both SoupStrainer.text and SoupStrainer.string are now deprecated.

b488fa9... by Leonard Richardson

Added unit tests for SoupStrainer.matches_tag.

baac2a0... by Leonard Richardson

Added tests for the _make_match_rules private method.