diff options
author | Leonard Richardson <leonardr@segfault.org> | 2021-12-19 13:56:48 -0500 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2021-12-19 13:56:48 -0500 |
commit | 497bf714d07e491bc811abd64e5fe3391564998d (patch) | |
tree | fdc945b11e121fb21b8d65284d0db5a9ebc43d30 /CHANGELOG | |
parent | 854fd52ad616d8e9c0860bba2eb4ddd93eb2dc79 (diff) |
If the charset-normalizer Python module
(https://pypi.org/project/charset-normalizer/) is installed, Beautiful
Soup will use it to detect the character sets of incoming documents.
This is also the module used by newer versions of the Requests library.
For the sake of backwards compatibility, chardet and cchardet both take
precedence if installed. [bug=1955346]
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -11,8 +11,12 @@ Python 2 was revision 605. to make it possible to treat ruby text specially in get_text() calls. [bug=1941980] -* Fixed a crash when overriding multi_valued_attributes and using the - html5lib parser. [bug=1948488] +* If the charset-normalizer Python module + (https://pypi.org/project/charset-normalizer/) is installed, Beautiful + Soup will use it to detect the character sets of incoming documents. + This is also the module used by newer versions of the Requests library. + For the sake of backwards compatibility, chardet and cchardet both take + precedence if installed. [bug=1955346] * Added a workaround for an lxml bug (https://bugs.launchpad.net/lxml/+bug/1948551) that causes @@ -33,9 +37,12 @@ Python 2 was revision 605. version. "text" still works, but will give a DeprecationWarning. [bug=1947038] -* Fix a crash when pickling a BeautifulSoup object that has no +* Fixed a crash when pickling a BeautifulSoup object that has no tree builder. [bug=1934003] +* Fixed a crash when overriding multi_valued_attributes and using the + html5lib parser. [bug=1948488] + = 4.10.0 (20210907) * This is the first release of Beautiful Soup to only support Python |