Benedikt Radtke
1196915b39
fix nullability of scrypt params ( #10942 )
2023-10-29 01:35:39 +02:00
Alex Waygood
9ed39d8796
Use typing_extensions.Self in the stdlib ( #9694 )
2023-02-09 09:12:13 +00:00
Alex Waygood
100cd62373
stdlib: Add bytes defaults ( #9660 )
2023-02-02 16:01:54 -08:00
Jelle Zijlstra
ddfaca3200
stdlib: add argument default values ( #9501 )
2023-01-18 09:37:34 +01:00
Shantanu
67425a89d4
hashlib: update for py311 ( #7652 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-04-18 21:21:19 +03:00
Alex Waygood
97a74bc1aa
Import from collections.abc wherever possible ( #7635 )
2022-04-18 12:50:37 +02:00
Alex Waygood
8f2f857ffc
Add __all__ for modules beginning with 'h' and 'i' ( #7327 )
2022-02-20 14:01:45 -08:00
Alex Waygood
2878050ffc
Add @final to several stdlib classes that cannot be subclassed at runtime ( #7213 )
2022-02-14 14:46:30 -08:00
Alex Waygood
505ea72641
Never explicitly inherit from object in Python 3-only stubs ( #6777 )
2022-01-02 07:24:48 +01:00
Bas van Beek
a1ca55037a
Update the xxhash and hashlib stubs ( #6031 )
...
* `name`, `block_size`, `digest_size` and `digestsize` attributes of hash objects were made read-only.
* It is now a type-checking error to subclass `xxhash` classes, such as `xxhash.xxh32`. Previously it was an error only at runtime.
* `xxhash` functions now accept strings as input and any object with `__index__()` method for `seed` (instead of requiring an integer). They also fail the type checking if no arguments are given.
2021-09-14 12:01:11 +03: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