Stephen Morton
8e31597fa5
add BaseListProxy.__imul__ ( #13266 )
2024-12-19 16:04:00 -08:00
Stephen Morton
074cef02a5
add multiprocessing.managers._BaseDictProxy ( #12951 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-11-12 12:47:02 +00:00
Stephen Morton
9c8bc640a3
a couple stubtest fixes in multiprocessing ( #12948 )
2024-11-04 06:42:11 -08:00
Avasam
bdb5b52d50
Make multiprocessing pipes generic ( #11137 )
2024-10-01 18:11:42 -07:00
Alex Waygood
0152a6c134
Add __class_getitem__ methods new in py313 ( #12029 )
2024-05-24 12:11:22 -07:00
Shantanu
d9cf43c4c3
Mark pos-only __class_getitem__ args ( #11970 )
2024-05-18 23:27:51 +02:00
Shantanu
470a13ab09
Use PEP 570 syntax in stdlib ( #11250 )
2024-03-09 14:50:16 -08:00
Sebastian Rittau
53a8193d64
Update typing_extensions imports in stdlib ( #11244 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2024-01-05 08:15:19 -08:00
Sebastian Rittau
23604858a6
Remove Python 3.7 branches ( #11238 )
2024-01-05 11:39:39 +01:00
Alex Waygood
83964a4dc5
stdlib: add many missing __del__ methods ( #11042 )
2023-11-18 11:32:12 -08:00
Eugene Toder
e86c61da86
More precise overloads for get/pop methods ( #10501 )
...
Fixes #10293
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2023-07-26 16:37:32 +01:00
Akuli
03b8c60a02
Support dict(foo.split() for foo in bar) with bytes ( #10072 )
2023-04-22 18:28:34 +03:00
Alex Waygood
dd2818a41d
Stdlib: add container default values ( #9909 )
2023-03-21 09:12:34 +01:00
Alex Waygood
257e287fec
Stdlib: correct many parameter names ( #9815 )
2023-03-04 09:53:12 +00:00
Alex Waygood
9ed39d8796
Use typing_extensions.Self in the stdlib ( #9694 )
2023-02-09 09:12:13 +00:00
Alex Waygood
53747b264e
Stdlib: add 'obvious' default values ( #9688 )
2023-02-07 13:00:40 +01:00
Alex Waygood
33a62ae42d
Add more defaults to the stdlib ( #9606 )
...
Continuing work towards #8988 .
The first five commits were created using stubdefaulter on various Python versions; the following commits were all created manually by me to fix various problems. The main things this adds that weren't present in #9501 are:
- Defaults in Windows-only modules and Windows-only branches (because I'm running a Windows machine)
- Defaults in non-py311 branches
- Defaults for float parameters
- Defaults for overloads
2023-01-29 01:51:23 +00:00
Jelle Zijlstra
ddfaca3200
stdlib: add argument default values ( #9501 )
2023-01-18 09:37:34 +01:00
Alex Waygood
deff426b6f
Fix multiprocessing.DictProxy.values() ( #8815 )
...
Fixes #8814
2022-09-30 13:37:53 +02:00
Nikita Sobolev
6e985ef3de
stdlib mapping classes: Use better names for various pos-only parameters ( #8637 )
2022-08-28 23:29:00 +01:00
Nikita Sobolev
510feeb3fc
Improve constructor for builtins.dict ( #8517 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-08-10 19:04:07 +01:00
Alex Waygood
edc0ecd857
Remove Python 3.6 branches from typeshed ( #8269 )
2022-07-11 10:55:17 +02:00
Alex Waygood
a2e8346d9a
Improve multiprocessing stubs ( #8202 )
...
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com >
2022-07-01 23:50:39 +05:30
Alex Waygood
d511312e21
multiprocessing.managers: fix TypeVar usage (#7938 )
...
#7928
`dict()` and `list()` just return empty dictionaries and lists (respectively) if no arguments are supplied:
```python
>>> from multiprocessing.managers import SyncManager
>>> with SyncManager() as s:
... print(s.dict())
...
{}
```
2022-05-26 07:18:43 -07:00
Jelle Zijlstra
573539ba2a
multiprocessing: add shutdown_timeout param to BaseManager ( #7692 )
...
python/cpython#32112
2022-04-25 22:12:56 -06:00
Alex Waygood
b093c90a94
Use TypeAlias for type aliases where possible, part II ( #7667 )
2022-04-20 20:02:47 +01:00
Alex Waygood
97a74bc1aa
Import from collections.abc wherever possible ( #7635 )
2022-04-18 12:50:37 +02:00
Rebecca Chen
f39f20c4dd
Fix the type signature of multiprocessing.managers.BaseManager.__exit__ ( #7529 )
...
All parameters should accept None.
2022-03-22 07:32:15 +01:00
Alex Waygood
07de01f29e
Add __all__ to modules beginning with 'm' ( #7330 )
2022-02-20 14:08:07 -08:00
Alex Waygood
fbc279e3f5
stdlib: Add many missing dunder overrides ( #7231 )
2022-02-16 06:25:47 -08:00
Shantanu
b88a6f19cd
Upgrade black version ( #7089 )
2022-01-30 16:27:06 -08:00
Alex Waygood
4e046163b5
Delete many redundant method redefinitions ( #6877 )
2022-01-09 11:21:03 -08:00
Alex Waygood
505ea72641
Never explicitly inherit from object in Python 3-only stubs ( #6777 )
2022-01-02 07:24:48 +01:00
Akuli
c3cc5e47c0
delete very old autogenerated comments ( #6755 )
2021-12-30 17:16:06 +01:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Alex Waygood
a9cfd23fc3
Further reduce use of deprecated contextlib aliases ( #6370 )
2021-11-23 15:25:39 -08:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
Akuli
9af9cca7f3
lowercase list and dict in the rest of stdlib ( #5892 )
2021-08-09 00:13:08 +02: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