diff options
-rw-r--r-- | AUTHORS | 3 | ||||
-rw-r--r-- | CHANGELOG | 15 | ||||
-rw-r--r-- | bs4/__init__.py | 4 |
3 files changed, 20 insertions, 2 deletions
@@ -11,6 +11,9 @@ of UnicodeDammit. Jonathan Ellis was awarded the prestigous Beau Potage D'Or for his work in solving the nestable tags conundrum. +Thomas Kluyver finished the work of getting Beautiful Soup 4 working +under Python 3. + The following people have contributed patches to Beautiful Soup: Istvan Albert, Andrew Lin, Anthony Baxter, Andrew Boyko, Tony Chang, @@ -17,6 +17,16 @@ version of the API is in use, the module is now called 'bs4': >>> from bs4 import BeautifulSoup +== It works with Python 3 == + +Beautiful Soup 3.1.0 worked with Python 3, but the parser it used was +so bad that it barely worked at all. Beautiful Soup 4 works with +Python 3, and since its parser is pluggable, you don't sacrifice +quality. + +Special thanks to Thomas Kluyver for getting Python 3 support to the +finish line. + == Better method names == Methods and attributes have been renamed to comply with PEP 8. The old names @@ -145,6 +155,11 @@ The ['lxml', 'xml'] tree builder sets .is_xml to True; the other tree builders set it to False. If you want to parse XHTML with an HTML parser, you can set it manually. += 3.2.0 = + +The 3.1 series wasn't very useful, so I renamed the 3.0 series to 3.2 +to make it obvious which one you should use. + = 3.1.0 = A hybrid version that supports 2.4 and can be automatically converted diff --git a/bs4/__init__.py b/bs4/__init__.py index c036521..5bd3b83 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -9,7 +9,7 @@ of building a parse tree, and Beautiful Soup provides provides methods and Pythonic idioms that make it easy to navigate, search, and modify the parse tree. -Beautiful Soup works with Python 2.5 and up. It works better if lxml +Beautiful Soup works with Python 2.6 and up. It works better if lxml or html5lib is installed. For more than you ever wanted to know about Beautiful Soup, see the @@ -18,7 +18,7 @@ http://www.crummy.com/software/BeautifulSoup/documentation.html """ __author__ = "Leonard Richardson (leonardr@segfault.org)" -__version__ = "4.0.0a" +__version__ = "4.0.0b" __copyright__ = "Copyright (c) 2004-2011 Leonard Richardson" __license__ = "MIT" |