diff options
author | Leonard Richardson <leonardr@segfault.org> | 2019-07-16 21:43:28 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2019-07-16 21:43:28 -0400 |
commit | fb871fc76b11f8b182653bdd922360d332c32dc7 (patch) | |
tree | 18cb601d3bc5be872f41d1f605f7870a7ee1bbd5 | |
parent | fc71bc1c04e0495c34a5b78ec21895e32848b344 (diff) |
Prep for release.
-rw-r--r-- | CHANGELOG | 6 | ||||
-rw-r--r-- | bs4/__init__.py | 2 | ||||
-rw-r--r-- | doc/source/index.rst | 6 | ||||
-rw-r--r-- | setup.py | 2 |
4 files changed, 8 insertions, 8 deletions
@@ -1,4 +1,4 @@ -= 4.8.0 (Unreleased) += 4.8.0 (20190720) * It's now possible to customize the TreeBuilder object by passing keyword arguments into the BeautifulSoup constructor. The main @@ -6,8 +6,8 @@ attributes are treated -- you can do this with the `multi_valued_attributes` argument. [bug=1832978] -* The role of Formatter objects has been greatly expanded. It now contains - consolidated code for controlling the following: +* The role of Formatter objects has been greatly expanded. The Formatter + class now controls the following: - The function to call to perform entity substitution. (This was previously Formatter's only job.) diff --git a/bs4/__init__.py b/bs4/__init__.py index 66797ca..9cd01c8 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -18,7 +18,7 @@ http://www.crummy.com/software/BeautifulSoup/bs4/doc/ """ __author__ = "Leonard Richardson (leonardr@segfault.org)" -__version__ = "4.7.1" +__version__ = "4.8.0" __copyright__ = "Copyright (c) 2004-2019 Leonard Richardson" # Use of this source code is governed by the MIT license. __license__ = "MIT" diff --git a/doc/source/index.rst b/doc/source/index.rst index 9ef8ef4..cea1be5 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -266,9 +266,9 @@ This table summarizes the advantages and disadvantages of each parser library: +----------------------+--------------------------------------------+--------------------------------+--------------------------+ | Parser | Typical usage | Advantages | Disadvantages | +----------------------+--------------------------------------------+--------------------------------+--------------------------+ -| Python's html.parser | ``BeautifulSoup(markup, "html.parser")`` | * Batteries included | * Not very lenient | -| | | * Decent speed | (before Python 2.7.3 | -| | | * Lenient (as of Python 2.7.3 | or 3.2.2) | +| Python's html.parser | ``BeautifulSoup(markup, "html.parser")`` | * Batteries included | * Not as fast as lxml, | +| | | * Decent speed | less lenient than | +| | | * Lenient (As of Python 2.7.3 | html5lib. | | | | and 3.2.) | | +----------------------+--------------------------------------------+--------------------------------+--------------------------+ | lxml's HTML parser | ``BeautifulSoup(markup, "lxml")`` | * Very fast | * External C dependency | @@ -8,7 +8,7 @@ with open("README.md", "r") as fh: setup( name="beautifulsoup4", - version = "4.7.1", + version = "4.8.0", author="Leonard Richardson", author_email='leonardr@segfault.org', url="http://www.crummy.com/software/BeautifulSoup/bs4/", |