Sebastian Rittau
82edad066f
Updates for Python 3.14rc1 ( #14446 )
2025-07-24 16:30:00 +02:00
Brian Schubert
723db2f132
Add concurrent.interpreters stubs for 3.14.0b3 ( #14307 )
2025-07-21 15:31:29 +02:00
Marc Mueller
91868eadd0
Update ThreadPoolExecutor attributes for Python 3.14 ( #14263 )
2025-06-21 10:51:33 -07:00
Sebastian Rittau
38ec95323e
Update to Python 3.14.0b2 ( #14182 )
2025-05-28 12:02:19 +02:00
Max Muoto
8b12b1664b
Add InterpreterPoolExecutor (3.14) ( #14008 )
2025-05-12 09:58:29 -07:00
Max Muoto
33a0cb977e
Update ProcessPoolExecutor for 3.14 ( #13994 )
2025-05-10 22:43:14 +02:00
Sebastian Rittau
30b16c168d
Drop Python 3.8 branches ( #13776 )
2025-04-03 10:35:36 +02:00
Stephen Morton
1798badcdd
update for the new patch releases ( #13196 )
2024-12-05 18:24:07 +01:00
Avasam
bdb5b52d50
Make multiprocessing pipes generic ( #11137 )
2024-10-01 18:11:42 -07:00
Max Muoto
0df6028dc8
Use Final for Constant Literals in the stdlib ( #12332 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-07-15 18:07:34 +01:00
Shantanu
73d5a55a32
Fixes for 3.13b3 ( #12257 )
...
Fixes #12255
2024-07-01 23:07:08 -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
layday
ca1e47739e
Fix type of concurrent.futures.wait for Python <= 3.8 ( #11537 )
...
Closes #11533 .
2024-03-07 20:08:37 +01:00
Shantanu
21f84d09c3
concurrent.futures: allow as_completed to act covariantly ( #11291 )
2024-01-30 20:14:29 -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
Ali Hamdan
cdad9047d5
stdlib: Use Unpack for concurrent.futures.*Executor constructors ( #11171 )
2023-12-18 13:46:15 +01:00
tungol
db3024d2e7
Use builtin TimeoutError in asyncio and concurrent.futures ( #11109 )
...
related to https://github.com/python/typeshed/issues/3968
Co-authored-by: Stephen Morton <git@tungol.org >
2023-12-06 00:22:26 -08:00
Sebastian Rittau
027460f11a
Remove unnecessary ellipsis expressions ( #9976 )
...
Ignore flake8 F821 warnings in stub files
2023-03-29 13:28:06 +02:00
Alex Waygood
dd2818a41d
Stdlib: add container default values ( #9909 )
2023-03-21 09:12:34 +01:00
Alex Waygood
14ab089bd5
Use a generic NamedTuple for concurrent.futures.DoneAndNotDoneFutures ( #9772 )
2023-02-20 08:54:21 -08:00
Alex Waygood
9ed39d8796
Use typing_extensions.Self in the stdlib ( #9694 )
2023-02-09 09:12:13 +00: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
Avasam
c70d303985
Audit stdlib object annotations ( #9519 )
2023-01-17 15:40:00 +00:00
Nikita Sobolev
380022c650
Remove empty __init__ methods ( #8816 )
2022-09-30 13:08:41 +01:00
Nikita Sobolev
0259068ad6
Remove duplicate definitions in sub-classes ( #8594 )
2022-08-26 17:10:55 +02:00
Nikita Sobolev
0480550fc3
Adds missing __dir__ definitions ( #8479 )
2022-08-04 12:21:43 +02:00
Shantanu
804628dc7d
Remove unused protocol ( #8418 )
2022-07-27 20:35:47 -07:00
Alex Waygood
e2ce7c6344
stdlib: audit more callback annotations ( #8209 )
2022-07-19 07:07:25 -07:00
Alex Waygood
edc0ecd857
Remove Python 3.6 branches from typeshed ( #8269 )
2022-07-11 10:55:17 +02:00
Alex Waygood
8b3b6bf7cd
stdlib: Audit Callable[<parameters>, None] annotations ( #8187 )
2022-06-27 08:08:28 +02:00
Jelle Zijlstra
18433202ba
concurrent.futures: new params in 3.11 ( #7919 )
...
https://github.com/python/cpython/commit/fdc0e09c3316098b038996c428e88931f0a4fcdb
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-05-22 15:51:09 -07:00
Alex Waygood
97a74bc1aa
Import from collections.abc wherever possible ( #7635 )
2022-04-18 12:50:37 +02:00
Alex Waygood
da3e69d093
stdlib: Improve a bunch of __(a)exit__ methods ( #7571 )
2022-04-01 08:05:25 +02:00
Alex Waygood
61b22db692
Add many missing __match_args__ attributes ( #7556 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-03-26 19:36:28 +00:00
Alex Waygood
c50cb066e0
Improve two classes which are namedtuples at runtime, but cannot be namedtuples in typeshed ( #7429 )
2022-03-03 07:22:40 -08:00
Alex Waygood
8955916099
Add concurrent.futures.__all__ ( #7299 )
2022-02-19 12:27:48 -08:00
Alex Waygood
f4967618dd
Fix positional-only differences in many stdlib modules ( #7226 )
2022-02-15 15:14:06 +01: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
Nikita Sobolev
fe75ec69bf
Use ParamSpec for concurent.futures.Executor.submit ( #6791 )
2022-01-06 18:29:47 +02:00
Nikita Sobolev
686dba35b5
Use Literal type for concurrent states ( #6780 )
2022-01-02 12:27:02 +02:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Alex Waygood
975b3e901b
Always alias collections.abc.Set ( #6712 )
2021-12-27 17:09:47 +01:00
Alex Waygood
98af7d667f
Improve stubs for sequence types ( #6386 )
2021-11-26 19:09:38 -08:00
Alex Waygood
029cf555e7
Use lowercase set/deque in stdlib subdirectories ( #6350 )
2021-11-20 04:20:25 -08:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
Sebastian Rittau
ca38856670
Fix set annotations in concurrent.futures._base ( #6034 )
2021-09-14 11:50:20 +03:00