summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-24Added a test just to verify that you can encode a document more deeply ↵Leonard Richardson
nested than the Python recursion limit.
2023-03-24Simplified the rules for going in and out of string_literal_tag, so less ↵Leonard Richardson
documentation in comments is necessary.
2023-03-24Keep track of the specific tag that put us into string literal mode, and ↵Leonard Richardson
only exit when that particular tag is closed.
2023-03-24Don't indent an empty string. 1084 of 1474 test documents now give identical ↵Leonard Richardson
results between versions.
2023-03-24Using a format string is very slightly slower than just adding all the bits ↵Leonard Richardson
of the string together.
2023-03-23Found and removed accidental calls to find(), greatly improving performance.Leonard Richardson
2023-03-23Improved one paragraph of the Chinese translation, courtesy of Jeffery Xu.Leonard Richardson
2023-03-23Bump version number preemptively.Leonard Richardson
2023-03-21Reorganize code and rename saxlike, since this isn'Leonard Richardson
2023-03-21Removed old implementation code.Leonard Richardson
2023-03-21Reimplemented the pretty-print algorithm to remove recursive function calls.Leonard Richardson
2023-03-20Make sure PageElement has the known_xml attribute. [bug=2007895]Leonard Richardson
2023-03-20Removed an html5lib fuzz test case that is marked as fixed in oss-fuzz and ↵Leonard Richardson
was probably not ever an issue.
2023-03-20Linked another html5lib crash to the fuzz tests.Leonard Richardson
2023-03-20Added unit tests for fuzz test cases created by thirdLeonard Richardson
parties. Most of these tests are skipped since they either point out problems in code outside of Beautiful Soup, or problems with Beautiful Soup that haven't been resolved yet, but this puts them all in one convenient place.
2023-03-20Merge branch 'master' into fuzzLeonard Richardson
2023-03-20Added fuzz tests.Leonard Richardson
2023-03-20Replace pytest with python -m pytest in the release preparation script.Leonard Richardson
2023-03-20Increased version number in __version__.Leonard Richardson
2023-03-20Remove test-all-versions reference in release prep script.Leonard Richardson
2023-03-20Execute the pytest tests in a way that better respects virtual environments, ↵Leonard Richardson
and add a deprecation notice.
2023-03-20Updated version number in docs.Leonard Richardson
2023-03-20Added a test harness for clusterfuzz test cases.Leonard Richardson
2023-03-20Prepare for 4.12.0 release.Leonard Richardson
2023-03-15Rewrote documentation so that py:class:: directives could be inserted and ↵Leonard Richardson
the text would flow naturally.
2023-03-15Add documentation references for the bs4 module itself as well as all ↵Leonard Richardson
currently documented classes.
2023-02-15Removed some error checking code from diagnose(), which is redundant withLeonard Richardson
similar (but more Pythonic) code in the BeautifulSoup constructor. [bug=2007344]
2023-02-15When the html.parser parser decides it can't parse a document, BeautifulLeonard Richardson
Soup now consistently propagates this fact by raising a ParserRejectedMarkup error. [bug=2007343]
2023-02-15Added missing import.Leonard Richardson
2023-02-13Fixed the UnicodeDammit example so that the example is more obviously UTF-8.Leonard Richardson
2023-02-12Improved documentation of new method.Leonard Richardson
2023-02-10Add compile methodfacelessuser
2023-02-10Remove unnecessary test and don't pass namespace on precompiled selectfacelessuser
2023-02-09Add another import of NavigableString just before the constructor is used, ↵Leonard Richardson
since most people don't run all the code in the doc in order.
2023-02-08Fixed syntax errors in documentation.Leonard Richardson
2023-02-07Added Makefile for the Portuguese translation.Leonard Richardson
2023-02-07Corrected a mistake in the Korean, Portuguese and Chinese translations of ↵Leonard Richardson
the documentation.
2023-02-07Removed Soup Sieve fallback method, added documentation.Leonard Richardson
2023-02-04Added a __getattr__ fallback.Leonard Richardson
2023-02-03Added tests of CSS.escape.Leonard Richardson
2023-02-03Move the Soup Sieve proxy and its tests into separate files.Leonard Richardson
2023-02-03Consistently use the name 'tag' instead of 'element,' since CSS selectors ↵Leonard Richardson
only operate on tags. Verify that select() and filter() return ResultSets.
2023-02-03Removed redundant whitespace.Leonard Richardson
2023-02-03Added some docstrings and made the return values more consistent.Leonard Richardson
2023-02-02Test implementation.Leonard Richardson
2023-01-31Bump up the Python version I use to prepare releases.Leonard Richardson
2023-01-31Fixed missing import that caused test failures when Soup Sieve is installed.Leonard Richardson
2023-01-31Consistently use pytest.mark.skipif to skip tests when the corresponding ↵Leonard Richardson
libraries are not installed.
2023-01-29Reworded the 'multi-valued attributes' portion of the documentation to make ↵Leonard Richardson
it more clear. [bug=1970767]
2023-01-28Incremented version number.Leonard Richardson