811361dbbe
* Beautiful Soup is no longer compatible with Python 2.6. This actually happened a few releases ago, but it's now official. * Beautiful Soup will now work with versions of html5lib greater than 0.99999999. * If a search against each individual value of a multi-valued attribute fails, the search will be run one final time against the complete attribute value considered as a single string. That is, if a tag has class="foo bar" and neither "foo" nor "bar" matches, but "foo bar" does, the tag is now considered a match. This happened in previous versions, but only when the value being searched for was a string. Now it also works when that value is a regular expression, a list of strings, etc. * Fixed a bug that deranged the tree when a whitespace element was reparented into a tag that contained an identical whitespace element. * Added support for CSS selector values that contain quoted spaces, such as tag[style="display: foo"]. * Corrected handling of XML processing instructions. * Corrected an encoding error that happened when a BeautifulSoup object was copied. * The contents of <textarea> tags will no longer be modified when the tree is prettified. * When a BeautifulSoup object is pickled but its tree builder cannot be pickled, its .builder attribute is set to None instead of being destroyed. This avoids a performance problem once the object is unpickled. * Specify the file and line number when warning about a BeautifulSoup object being instantiated without a parser being specified. * The `limit` argument to `select()` now works correctly, though it's not implemented very efficiently. * Fixed a Python 3 ByteWarning when a URL was passed in as though it were markup. Thanks to James Salter for a patch and test. * We don't run the check for a filename passed in as markup if the 'filename' contains a less-than character; the less-than character indicates it's most likely a very small document. |
||
---|---|---|
.. | ||
README.md | ||
requirements-check-manifest.txt | ||
requirements-check-manifest.txt-raw | ||
requirements-codecov.txt | ||
requirements-codecov.txt-raw | ||
requirements-cxfreeze.txt | ||
requirements-cxfreeze.txt-raw | ||
requirements-flake8.txt | ||
requirements-flake8.txt-raw | ||
requirements-pip.txt | ||
requirements-pyinstaller.txt | ||
requirements-pyinstaller.txt-raw | ||
requirements-pylint-master.txt | ||
requirements-pylint-master.txt-raw | ||
requirements-pylint.txt | ||
requirements-pylint.txt-raw | ||
requirements-pyroma.txt | ||
requirements-pyroma.txt-raw | ||
requirements-qutebrowser.txt-raw | ||
requirements-tests.txt | ||
requirements-tests.txt-raw | ||
requirements-tox.txt | ||
requirements-tox.txt-raw | ||
requirements-vulture.txt | ||
requirements-vulture.txt-raw |
This directory contains various requirements
files which are used by tox
to
have reproducable tests with pinned versions.
The files are generated based on unpinned requirements in *.txt-raw
files.
Those files can also contain some special commands:
- Add an additional comment to a line:
#@ comment: <package> <comment here>
- Filter a line for requirements.io:
#@ filter: <package> <filter>
- Don't include a package in the output:
#@ ignore: <package>
(or multiple packages) - Replace a part of a frozen package specification with another:
#@ replace <regex> <replacement>
Some examples:
#@ comment: mypkg blah blub
#@ filter: mypkg != 1.0.0
#@ ignore: mypkg, otherpkg
#@ replace: foo bar