Sebastian Rittau
e4c84dfb11
Make email.policy classes generic ( #12724 )
2024-10-02 16:42:07 +02:00
Stephen Morton
cff2b3db0c
add email._policybase ( #11146 )
2023-12-11 19:48:48 +01:00
Jisuk Byun
a04822051f
Fix type hints in email module ( #10450 )
2023-07-17 14:14:28 +02:00
Oleg Höfling
c88ce93614
Use Self as the return type for email.policy.Policy.clone ( #10301 )
...
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com >
2023-06-11 16:36:45 +01:00
Alex Waygood
97a74bc1aa
Import from collections.abc wherever possible ( #7635 )
2022-04-18 12:50:37 +02:00
Alex Waygood
b74acc7546
Add all the email __all__s ( #7304 )
2022-02-19 17:53:29 -08:00
Alex Waygood
5dcca3fe46
Improve stubs for email.policy ( #6631 )
...
* Add the ABCMeta metaclass, present at runtime.
* Add missing attributes from the allowlist, which are documented.
* Annotate the __init__ methods according to the documentation.
2021-12-19 23:38:08 +01:00
Akuli
a5bc1e037f
Add mypy error codes to '# type: ignore' comments ( #6379 )
2021-11-26 07:07:56 +01:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -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
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