beautifulsoup:4.13

Last commit made on 2024-05-30
Get this branch:
git clone -b 4.13 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:
4.13
Repository:
lp:beautifulsoup

Recent commits

f42ae14... by Leonard Richardson

Added ElementFilter.find and ElementFilter.find_all.

007049a... by Leonard Richardson

Move the filter method from PageElement to ElementFilter.

4aaacc0... by Leonard Richardson

* Copying a tag with a multi-valued attribute now makes a copy of the
  list of values, eliminating a bug where both the old and new copy
  shared the same list. [bug=2067412]

55c2e34... by Leonard Richardson

Oops, there's an underscore there.

9abc8a3... by Leonard Richardson

Doubling down on making sourcepos and sourceline consistently Optional[int].

8900598... by Leonard Richardson

Tag.sourceline and Tag.sourcepos are always set, even if the value is
  None because the parser didn't provide that information. This has the
  side effect of fixing a major performance problem when a Tag is copied.
  [bug=2065904]

5104c45... by Leonard Richardson

It's now possible to modify the behavior of the list used to store the
  values of multi-valued attributes such as HTML 'class', by passing in
  whatever class you want instantiated (instead of a normal Python list)
  to the TreeBuilder constructor as attribute_value_list_class.
  [bug=2052943]

6d529cf... by Leonard Richardson

Fixed type checking errors.

9b8648a... by Leonard Richardson

Fixed remaining tests and added changelog.

4b6f33c... by Leonard Richardson

Got rid of most of the remaining test failures.