forked from pool/python-beautifulsoup4
634a663576
Update to 4.2.0 Re-enable lxml in python2 Build and package documentation OBS-URL: https://build.opensuse.org/request/show/176044 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-beautifulsoup4?expand=0&rev=16
78 lines
3.7 KiB
Plaintext
78 lines
3.7 KiB
Plaintext
-------------------------------------------------------------------
|
|
Sat May 18 13:30:00 UTC 2013 - toddrme2178@gmail.com
|
|
|
|
- Update to 4.2.0
|
|
* The Tag.select() method now supports a much wider variety of CSS
|
|
selectors.
|
|
- Added support for the adjacent sibling combinator (+) and the
|
|
general sibling combinator (~). Tests by "liquider". [bug=1082144]
|
|
- The combinators (>, +, and ~) can now combine with any supported
|
|
selector, not just one that selects based on tag name.
|
|
- Added limited support for the "nth-of-type" pseudo-class. Code
|
|
by Sven Slootweg. [bug=1109952]
|
|
* The BeautifulSoup class is now aliased to "_s" and "_soup", making
|
|
it quicker to type the import statement in an interactive session
|
|
The alias may change in the future, so don't use this in code you're
|
|
going to run more than once.
|
|
* Added the 'diagnose' submodule, which includes several useful
|
|
functions for reporting problems and doing tech support.
|
|
- diagnose(data) tries the given markup on every installed parser,
|
|
reporting exceptions and displaying successes. If a parser is not
|
|
installed, diagnose() mentions this fact.
|
|
- lxml_trace(data, html=True) runs the given markup through lxml's
|
|
XML parser or HTML parser, and prints out the parser events as
|
|
they happen. This helps you quickly determine whether a given
|
|
problem occurs in lxml code or Beautiful Soup code.
|
|
- htmlparser_trace(data) is the same thing, but for Python's
|
|
built-in HTMLParser class.
|
|
* In an HTML document, the contents of a <script> or <style> tag will
|
|
no longer undergo entity substitution by default. XML documents work
|
|
the same way they did before. [bug=1085953]
|
|
* Methods like get_text() and properties like .strings now only give
|
|
you strings that are visible in the document--no comments or
|
|
processing commands. [bug=1050164]
|
|
* The prettify() method now leaves the contents of <pre> tags
|
|
alone. [bug=1095654]
|
|
* Fix a bug in the html5lib treebuilder which sometimes created
|
|
disconnected trees. [bug=1039527]
|
|
* Fix a bug in the lxml treebuilder which crashed when a tag included
|
|
an attribute from the predefined "xml:" namespace. [bug=1065617]
|
|
* Fix a bug by which keyword arguments to find_parent() were not
|
|
being passed on. [bug=1126734]
|
|
* Stop a crash when unwisely messing with a tag that's been
|
|
decomposed. [bug=1097699]
|
|
* Now that lxml's segfault on invalid doctype has been fixed, fixed a
|
|
corresponding problem on the Beautiful Soup end that was previously
|
|
invisible. [bug=984936]
|
|
* Fixed an exception when an overspecified CSS selector didn't match
|
|
anything. Code by Stefaan Lippens. [bug=1168167]
|
|
- Re-enable lxml support (unit tests require it)
|
|
- Build documentation and add doc sub-package
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Apr 30 12:59:02 UTC 2013 - dmueller@suse.com
|
|
|
|
- remove lxml support (fails unit test)
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Jan 12 14:10:18 UTC 2013 - toddrme2178@gmail.com
|
|
|
|
- Use explicit file list
|
|
- Fix building on openSUSE 12.1 and 12.2
|
|
- Use recommended lxml parser instead of native one
|
|
(native fails fails for some python versions)
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jan 9 21:15:18 UTC 2013 - cfarrell@suse.com
|
|
|
|
- license update: MIT
|
|
See COPYING.txt
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Sep 10 18:52:45 UTC 2012 - nmo.marques@gmail.com
|
|
|
|
- initial package from version 4.1.3
|
|
- based on spec file from python-beautifulsoup
|
|
- requires python >= 2.6
|
|
|