summaryrefslogtreecommitdiff
path: root/bs4
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-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
2023-01-27Parametrize the 'string is deprecated' warning test so we can test all of ↵Leonard Richardson
the relevant methods.
2023-01-27Check the associated filename for more warnings.Leonard Richardson
2023-01-27Change the tests that check warnings to also (indirectly) verify that the ↵Leonard Richardson
stacklevel associated with the warning is more or less correct.
2023-01-27Implemented the more complicated case of providing an appropriate stacklevel ↵Leonard Richardson
for the warning issued when the deprecated 'text' argument is passed in.
2023-01-27Got rid of some more warnings by removing code that's not relevant anymore, ↵Leonard Richardson
now that the minimum supported Python version is 3.6.
2023-01-27Warnings now do their best to provide an appropriate stacklevel,Leonard Richardson
improving the usefulness of the message. [bug=1978744]
2023-01-25Tag.interesting_string_types is now propagated when a tag isLeonard Richardson
copied. [bug=1990400]
2023-01-25Made the ISO-8859 test robust in a less hacky way.Leonard Richardson
2023-01-25Made the ISO-8859-1 smoke test more robust.Leonard Richardson
2023-01-25Removed very old documentation that was imported as part of the bzr import ↵Leonard Richardson
but not removed.
2023-01-25The HTMLFormatter and XMLFormatter constructors no longer return aLeonard Richardson
value. [bug=1992693]
2023-01-25Passing a Tag's .contents into PageElement.extend() now works theLeonard Richardson
same way as passing the Tag itself.
2022-05-15Fixed a test failure when cchardet is not installed butLeonard Richardson
charset_normalizer is. [bug=1973072]
2022-04-10Fixed another crash when overriding multi_valued_attributes and using theLeonard Richardson
html5lib parser. [bug=1948488]
2022-04-08Some cleanup work to get more consistent and complete about what gets ↵Leonard Richardson
packaged with the Beautiful Soup release.