From e3671b76b089f015ded142966aae0e8cdb572aa6 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Fri, 2 Mar 2012 08:16:53 -0500 Subject: Bump version number. --- bs4/__init__.py | 2 +- bs4/version.py | 1 - doc/source/index.rst | 10 ++++++---- setup.py | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 bs4/version.py diff --git a/bs4/__init__.py b/bs4/__init__.py index c66cc65..8e0755b 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -17,7 +17,7 @@ http://www.crummy.com/software/BeautifulSoup/bs4/doc/ """ __author__ = "Leonard Richardson (leonardr@segfault.org)" -__version__ = "4.0.0b9" +__version__ = "4.0.0b10" __copyright__ = "Copyright (c) 2004-2012 Leonard Richardson" __license__ = "MIT" diff --git a/bs4/version.py b/bs4/version.py deleted file mode 100644 index a894be2..0000000 --- a/bs4/version.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "4.0.0b3" diff --git a/doc/source/index.rst b/doc/source/index.rst index 9746fbd..a9d404a 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -2251,8 +2251,8 @@ element in the soup, just as if it were a Python string:: # '

Sacr\xc3\xa9 bleu!

' Any characters that can't be represented in your chosen encoding will -be converted into numeric XML entity references. For instance, here's -a document that includes the Unicode character SNOWMAN:: +be converted into numeric XML entity references. Here's a document +that includes the Unicode character SNOWMAN:: markup = u"\N{SNOWMAN}" snowman_soup = BeautifulSoup(markup) @@ -2328,8 +2328,10 @@ to the ``BeautifulSoup`` constructor as the ``parse_only`` argument. (Note that *this feature won't work if you're using the html5lib parser*. If you use html5lib, the whole document will be parsed, no -matter what. In the examples below, I'll be forcing Beautiful Soup to -use Python's built-in parser.) +matter what. This is because html5lib constantly rearranges the parse +tree as it works, and if some part of the document didn't actually +make it into the parse tree, it'll crash. In the examples below, I'll +be forcing Beautiful Soup to use Python's built-in parser.) ``SoupStrainer`` ---------------- diff --git a/setup.py b/setup.py index 21fad87..b17edee 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ except ImportError: from distutils.command.build_py import build_py setup(name="beautifulsoup4", - version = "4.0.0b9", + version = "4.0.0b10", author="Leonard Richardson", author_email='leonardr@segfault.org', url="http://www.crummy.com/software/BeautifulSoup/bs4/", -- cgit v1.2.3