summaryrefslogtreecommitdiff
path: root/bs4/element.py
AgeCommit message (Expand)Author
2024-11-07dont use or opemasterhaturatu
2023-04-17Fixed a regression such that if you set .hidden on a tag, the tagLeonard Richardson
2023-04-09Backported a bug fix that knocks a full second off the test run time.Leonard Richardson
2023-03-27Make it possible to pickle a deeply nested BeautifulSoup object.Leonard Richardson
2023-03-27Updated __copy__ docstrings.Leonard Richardson
2023-03-26Implement a proper BeautifulSoup.deepcopy rather than parsing the document ag...Leonard Richardson
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 _event_str...Leonard Richardson
2023-03-24Simplified the rules for going in and out of string_literal_tag, so less docu...Leonard Richardson
2023-03-24Keep track of the specific tag that put us into string literal mode, and only...Leonard Richardson
2023-03-24Don't indent an empty string. 1084 of 1474 test documents now give identical ...Leonard Richardson
2023-03-24Using a format string is very slightly slower than just adding all the bits o...Leonard Richardson
2023-03-23Found and removed accidental calls to find(), greatly improving performance.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-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 onl...Leonard Richardson
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-27Implemented the more complicated case of providing an appropriate stacklevel ...Leonard Richardson
2023-01-27Warnings now do their best to provide an appropriate stacklevel,Leonard Richardson
2023-01-25Tag.interesting_string_types is now propagated when a tag isLeonard Richardson
2023-01-25Passing a Tag's .contents into PageElement.extend() now works theLeonard Richardson
2022-04-07Omit untrusted input when issuing warnings.Leonard Richardson
2021-12-21It's now possible to customize the way output is indented byLeonard Richardson
2021-11-29Do a better job of keeping track of namespaces as an XML document isLeonard Richardson
2021-10-24Used a warning to formally deprecate the 'text' argument in favor of 'string'.Leonard Richardson
2021-10-23Renamed the 'text' field to 'string' for real. Tests are not changed in this ...Leonard Richardson
2021-10-11Added special string classes, RubyParenthesisString and RubyTextString,Leonard Richardson
2021-10-11Broke up some monolithic unit test files.Leonard Richardson
2021-09-07Goodbye, Python 2. [bug=1942919]Leonard Richardson
2021-06-01The 'replace_with()' method now takes a variable number of arguments,Leonard Richardson
2021-02-14NavigableString and its subclasses now implement the get_text()Leonard Richardson
2021-02-13The behavior of methods like .get_text() and .strings now differsLeonard Richardson
2021-02-13Corrected output when the namespace prefix associated with aLeonard Richardson
2020-10-02Implemented a significant performance optimization to the process ofLeonard Richardson
2020-09-26Fixed a bug that inconsistently moved elements over when passingLeonard Richardson
2020-05-17Switch entirely to Python 3-style print statements, even in Python 2.Leonard Richardson
2020-05-17Added a keyword argument on_duplicate_attribute to theLeonard Richardson
2020-04-24If you encode a document with a Python-specific encoding likeLeonard Richardson
2020-04-05Embedded CSS and Javascript is now stored in distinct Stylesheet andLeonard Richardson
2020-04-04Use an :rtype: reported to work in pycharm.Leonard Richardson
2020-04-04select() always returns a Tag, so be more specific about its return type.Leonard Richardson
2020-03-09Make find() methods return a union type of the two most common PageElements, ...Leonard Richardson
2020-03-05Added a performance optimization to PageElement.extract(). Patch by Arthur Da...Leonard Richardson
2020-01-01API CHANGE - Added PageElement.decomposed, a new property which lets youLeonard Richardson
2019-12-24Added :rtype: to the find method docstrings.Leonard Richardson