summaryrefslogtreecommitdiff
path: root/bs4
AgeCommit message (Collapse)Author
2023-12-03Corrected a typo in a test that was causing test failures when run againstLeonard Richardson
libxml2 2.12.1. [bug=2045481]
2023-06-04Fixed a case found by Mengyuhan where html.parser giving up onLeonard Richardson
markup would result in an AssertionError instead of a ParserRejectedMarkup exception.
2023-05-12Remove a fuzz case that was caused by bad fuzzer code.Leonard Richardson
2023-05-12Added more clusterfuzz cases and a copy of the new oss-fuzz code for parsing ↵Leonard Richardson
and running them.
2023-04-17Fixed a regression such that if you set .hidden on a tag, the tagLeonard Richardson
becomes invisible but its contents are still visible. User manipulation of .hidden is not a documented or supported feature, so don't do this, but it's not too difficult to keep the old behavior working.
2023-04-09Backported a bug fix that knocks a full second off the test run time.Leonard Richardson
2023-04-07Fixed an unhandled exception in BeautifulSoup.decode_contentsLeonard Richardson
and methods that call it. [bug=2015545]
2023-04-05Rename the test case markup files with a .testcase extension so the manifest ↵Leonard Richardson
can be made more strict about what it includes.
2023-03-31Now that 1471755 has been fixed, we can un-skip a number of the clusterfuzz ↵Leonard Richardson
test cases.
2023-03-27Make it possible to pickle a deeply nested BeautifulSoup object.Leonard Richardson
2023-03-27Slightly optimized a slow test.Leonard Richardson
2023-03-27Updated __copy__ docstrings.Leonard Richardson
2023-03-26Implement a proper BeautifulSoup.deepcopy rather than parsing the document ↵Leonard Richardson
again.
2023-03-24Make __copy__ call __deepcopy__ instead of the other way around.Leonard Richardson
2023-03-24Implement nonrecursive versions of copy and deepcopy using the new ↵Leonard Richardson
_event_strem generator.
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-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-20Merge branch 'master' into fuzzLeonard Richardson
2023-03-20Added fuzz tests.Leonard Richardson
2023-03-20Increased version number in __version__.Leonard Richardson
2023-03-20Added a test harness for clusterfuzz test cases.Leonard Richardson
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-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-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-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