Overview

Request 952905 accepted

- Update to 4.10.0:
* This is the first release of Beautiful Soup to only support Python 3.
* The behavior of methods like .get_text() and .strings now differs
depending on the type of tag.
* NavigableString and its subclasses now implement the get_text()
method, as well as the properties .strings and
.stripped_strings.
* The 'html5' formatter now treats attributes whose values are the
empty string as HTML boolean attributes.
* The 'replace_with()' method now takes a variable number of arguments,
and can be used to replace a single element with a sequence of elements.
* Corrected output when the namespace prefix associated with a
namespaced attribute is the empty string, as opposed to
None.
* Performance improvement when processing tags that speeds up overall
tree construction by 2%. Patch by Morotti. [bug=1899358]
* Corrected the use of special string container classes in cases when a
single tag may contain strings with different containers; such as
the tag, which may contain both TemplateString objects
and Comment objects.
* The html.parser tree builder can now handle named entities
found in the HTML5 spec in much the same way that the html5lib
tree builder does.
* Added a second way to pass specify encodings to UnicodeDammit and
EncodingDetector, based on the order of precedence defined in the
HTML5 spec.
* Improve the warning issued when a directory name (as opposed to
the name of a regular file) is passed as markup into the BeautifulSoup
constructor.
- Do not pass the directory to pytest.

Request History
Steve Kowalik's avatar

StevenK created request

- Update to 4.10.0:
* This is the first release of Beautiful Soup to only support Python 3.
* The behavior of methods like .get_text() and .strings now differs
depending on the type of tag.
* NavigableString and its subclasses now implement the get_text()
method, as well as the properties .strings and
.stripped_strings.
* The 'html5' formatter now treats attributes whose values are the
empty string as HTML boolean attributes.
* The 'replace_with()' method now takes a variable number of arguments,
and can be used to replace a single element with a sequence of elements.
* Corrected output when the namespace prefix associated with a
namespaced attribute is the empty string, as opposed to
None.
* Performance improvement when processing tags that speeds up overall
tree construction by 2%. Patch by Morotti. [bug=1899358]
* Corrected the use of special string container classes in cases when a
single tag may contain strings with different containers; such as
the tag, which may contain both TemplateString objects
and Comment objects.
* The html.parser tree builder can now handle named entities
found in the HTML5 spec in much the same way that the html5lib
tree builder does.
* Added a second way to pass specify encodings to UnicodeDammit and
EncodingDetector, based on the order of precedence defined in the
HTML5 spec.
* Improve the warning issued when a directory name (as opposed to
the name of a regular file) is passed as markup into the BeautifulSoup
constructor.
- Do not pass the directory to pytest.


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:E as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:E"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:E"


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:E got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:E got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:E got accepted.

openSUSE Build Service is sponsored by