Shantanu
2f27eaab44
bs4: expose bs4.PageElement ( #7419 )
...
This is generally useful. It's also imported in the source without being
used in bs4/__init__.py which in well maintained packages is a pretty
good marker of intention to export
Co-authored-by: hauntsaninja <>
2022-03-01 16:59:50 -08:00
J Rob Gant
99aedf4724
Tag.attrs is a dict, instead of an immutable Mapping ( #7253 )
2022-02-18 00:46:49 +02:00
Jelle Zijlstra
3d28f0981f
bs4: Expose bs4.SoupStrainer and bs4.Tag ( #7002 )
2022-01-23 19:11:38 +02:00
Alex Waygood
a40d79a4e6
Use lowercase type everywhere ( #6853 )
2022-01-08 16:09:29 +01:00
Sebastian Rittau
e77a66aced
Update pyright ( #6840 )
2022-01-07 18:58:15 +02:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Sebastian Rittau
9bf2ceb963
Fix third-party issues found by stubtest ( #6667 )
2021-12-22 15:09:44 -08:00
Alex Waygood
c685c2d6c6
Reduce use of deprecated typing aliases ( #6358 )
2021-11-23 10:56:43 +01:00
Akuli
e72a4034bf
Cleanup: use lower-case list and dict, add a test ( #6161 )
2021-10-13 22:59:27 +03:00
cmckain
71f2e4ab0a
Put Generic last in base class list ( #6155 )
2021-10-12 17:58:19 +02:00
Sebastian Rittau
9f86972350
Add star to all non-0.1 versions ( #6146 )
2021-10-11 13:41:19 -07:00
cmckain
57c26d5b2c
PageElement.find_all() can return any subclass of PageElement ( #6081 )
2021-09-27 09:54:40 +02:00
Hackrrr
2237daa650
Update for beautifulsoup4 for version 4.10 ( #6059 )
...
Tighten types and add missing fields
2021-09-22 17:42:42 +02:00
Hackrrr
3ce5502675
Added str type to modifying methods on PageElement ( #5929 )
...
Co-authored-by: Hackrrr <Hackrrr@users.noreply.github.com >
2021-08-15 08:15:34 -07:00
Anders Kaseorg
96358fd944
beautifulsoup4 stub improvements ( #5907 )
2021-08-10 20:04:48 -07:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Ethan Corey
69c56b9496
Fix for _SimpleStrainable type def ( #5810 )
...
Modified definitions of _SimpleStrainable and _SimpleNormalizedStrainable to include Callable[[Tag], bool] (see https://www.crummy.com/software/BeautifulSoup/bs4/doc/#a-function )
2021-07-26 20:08:43 -07:00
Jelle Zijlstra
7f320c6b9e
Stubs for beautifulsoup4 ( #5758 )
...
Stubgen and manual fixes, don't bother with Python 2
2021-07-11 17:02:51 +03:00