Jelle Zijlstra
0c7bdffa90
third-party: make some protocol params pos-only ( #11006 )
2023-11-10 07:40:10 +01:00
Sebastian Rittau
af8c3a1b93
[bleach] Add html5lib_shim.Filter__init__/__iter__ ( #10835 )
...
The missing __init__ method caused `Filter` to be incompatible
with the `_Filter` protocol, preventing valid initialization of
`Cleaner` instances.
Closes : #10834
2023-10-04 17:19:26 +01:00
Alex Waygood
b9fedd20ce
Add defaults for third-party stubs A-D ( #9952 )
2023-03-27 16:49:58 +01:00
Sebastian Rittau
4148a7b73e
Upgrade bleach stubs for 6.0 ( #9583 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-24 15:46:34 +00:00
Nikita Sobolev
ce4668a132
Use Incomplete instead of Any in __getattr__ ( #8903 )
2022-10-15 18:54:21 +01:00
Alex Waygood
6348a58b8b
Import Match and Pattern from re, not typing ( #8277 )
2022-07-12 15:32:48 +02:00
Alex Waygood
b093c90a94
Use TypeAlias for type aliases where possible, part II ( #7667 )
2022-04-20 20:02:47 +01:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Sebastian Rittau
636a7e8b37
Update bleach stubs to version 5 ( #7612 )
2022-04-11 17:48:55 -07:00
Alex Waygood
3ab250eec8
Use PEP 604 syntax wherever possible ( #7493 )
2022-03-16 16:01:33 +01:00
Alex Waygood
505ea72641
Never explicitly inherit from object in Python 3-only stubs ( #6777 )
2022-01-02 07:24:48 +01:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Sebastian Rittau
978659643d
Upgrade bleach version to 4 and drop Python 2 ( #5897 )
...
bleach 4 has no API changes, but dropped support for old Python
versions.
2021-08-09 07:26:30 -07:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Sebastian Rittau
64f463172b
bleach: Loosen attribute dict type ( #5651 )
...
Closes : #5650
2021-06-17 12:53:16 +02:00
Sebastian Rittau
4c3e3a68a6
Update bleach stubs ( #5631 )
2021-06-14 06:50:51 -07:00
Ivan Levkivskyi
16ae4c6120
Re-organize directory structure ( #4971 )
...
See discussion in #2491
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2021-01-27 12:00:39 +00:00