Semyon Moroz
91e2ed0953
[stdlib] Add more default values ( #14632 )
2025-08-24 16:56:42 +01:00
Jelle Zijlstra
e8ba06f710
Add @disjoint_base decorator in the stdlib ( #14599 )
...
And fix some other new stubtest finds.
2025-08-24 07:27:14 -07:00
Jelle Zijlstra
f32d9f08bd
stdlib: add __slots__ ( #14611 )
2025-08-21 07:24:59 -07:00
Semyon Moroz
5e0d6ee95e
[stdlib] Copy-edit deprecation messages ( #14614 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2025-08-21 12:12:00 +01:00
Semyon Moroz
9bb8c4f1f9
[stdlib] Add missing Final ( #14613 )
2025-08-21 12:18:20 +02:00
Jelle Zijlstra
02a4b07b54
stdlib: add some parameter defaults ( #14610 )
2025-08-21 09:17:33 +02:00
Semyon Moroz
fb0940e6c1
[stdlib] Deprecate old functions ( #14553 )
...
* [stdlib] Deprecate many functions
* Fix typo
* Imporove message for asyncio/trsock
* Apply suggestions from code review
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
* Add Python before version
* [pre-commit.ci] auto fixes from pre-commit.com hooks
* Wrap comment lines
* fix the rest
---------
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-10 22:27:35 +01:00
Brian Schubert
622df68c1c
Add @type_check_only to stub-only private classes in stdlib ( #14512 )
2025-08-03 10:13:16 +02:00
Sebastian Rittau
7e16c80989
Remove some pytype workarounds from stdlib ( #14470 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-27 11:56:26 +01:00
Sebastian Rittau
82edad066f
Updates for Python 3.14rc1 ( #14446 )
2025-07-24 16:30:00 +02:00
Michael H
d73534badf
add rich comparison bound to heapq and priorityqueues using heapq ( #14419 )
2025-07-15 19:36:28 -07:00
renovate[bot]
75d8c88ec5
Update most test/lint dependencies ( #14354 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2025-07-01 10:59:15 +01:00
Brian Schubert
707cd57e49
Add asyncio.tools stubs for 3.14 ( #14305 )
2025-06-21 11:09:25 -07:00
Max Muoto
bacccd0972
Update asyncio.task.eager_task_factory for 3.14 ( #14236 )
2025-06-07 19:12:18 -07:00
sobolevn
a9e7afa7be
Update events and windows_events for asyncio in 3.14 ( #14128 )
2025-05-25 09:13:19 -07:00
Max Muoto
39f53a06aa
Resolve _asyncio issues ( #14089 )
2025-05-16 21:06:38 -07:00
Max Muoto
06f3fc9fd7
Add asyncio.graph, updates to asyncio.futures (3.14) ( #14003 )
2025-05-12 08:52:33 +02:00
Sebastian Rittau
2d46095e3f
Fix errors when type checking stdlib with Python 3.14 ( #13977 )
2025-05-09 21:04:35 +02:00
Sebastian Rittau
30b16c168d
Drop Python 3.8 branches ( #13776 )
2025-04-03 10:35:36 +02:00
Sam Bull
b4e49dd521
[asyncio] Allow any memoryview in write() and writelines() ( #13519 )
2025-03-20 17:49:10 +01:00
Max Muoto
2e76963775
Fix asyncio executor types ( #13616 )
...
Update type annotations for `run_in_executor` and `set_default_executor` in asyncio event loop interfaces to use more specific executor types from `concurrent.futures`
2025-03-11 11:45:28 +01:00
Avasam
6f98c59f93
Enable Ruff PLR (Pylint Refactor) ( #13307 )
2025-03-03 18:03:34 +01:00
Avasam
62feb28c29
Enable Ruff SIM ( #13309 )
2025-02-26 23:19:36 +01:00
Michael H
cc8ca939c0
Fix type for run_coroutine_threadsafe ( #13498 )
2025-02-14 13:23:11 +00:00
Stephen Morton
87267342d5
add asyncio.__all__ ( #13038 )
2024-12-27 20:58:40 -08:00
Stephen Morton
d8822689f7
fix stubs for asyncio.BaseEventLoop.subprocess_exec ( #13220 )
2024-12-25 14:25:39 -08:00
Stephen Morton
b0768596d2
correct parameter name for sock_recv of BaseEventLoop subclasses ( #13212 )
2024-12-09 18:26:34 -08:00
Ekin Dursun
61ba4de28f
Change return type of as_completed in Python 3.13 ( #12912 )
2024-10-27 16:33:35 +00:00
Stephen Morton
aedf65abe9
remove unneeded AsyncIterator base class from asyncio.StreamReader ( #12815 )
2024-10-15 11:25:40 -07:00
Stephen Morton
f83b6fadbe
add _asyncio ( #12766 )
...
improves naming and inheritance for asyncio.Future and asyncio.Task
related to https://github.com/python/typeshed/issues/3968
2024-10-09 20:55:28 -07:00
sobolevn
6f248dfa37
Bump mypy to 1.11.1 ( #12463 )
2024-08-04 23:19:28 -07:00
Peter Bierma
d2ccc9a723
Fix return type annotation for asyncio.Task.get_coro() ( #12445 )
2024-07-27 10:00:45 -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
Max Muoto
670ca3125b
Resolve asyncio issues for 3.13 ( #12327 )
2024-07-13 10:12:15 +02:00
Kumar Aditya
23c489642d
remove child watchers from asyncio ( #12189 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2024-06-23 15:09:45 +01:00
Kumar Aditya
8ddd5102ed
remove Generator from _FutureLike ( #12185 )
...
It is not allowed in Python 3.12+.
2024-06-22 06:59:30 -07:00
Jelle Zijlstra
eeea0ac614
asyncio: fix task factory types ( #11993 )
2024-05-21 11:18:38 +02:00
Shantanu
d9cf43c4c3
Mark pos-only __class_getitem__ args ( #11970 )
2024-05-18 23:27:51 +02:00
Marc Mueller
9178f5a414
Use TypeIs for asyncio function ( #11847 )
2024-04-29 15:17:09 -07:00
Eric Traut
17f1c4628a
Add precise values for enum members where possible ( #11299 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2024-04-22 15:10:59 +01:00
Bruce Merry
9d234d9c3f
Update asyncio.Stream.readuntil for Python 3.13 ( #11755 )
2024-04-14 14:11:44 +02:00
Shantanu
470a13ab09
Use PEP 570 syntax in stdlib ( #11250 )
2024-03-09 14:50:16 -08:00
Jelle Zijlstra
5b1fd121e0
asyncio: Fix type of add_child_handler callback ( #11548 )
2024-03-09 17:02:05 +01:00
Nikita Sobolev
675ab38ab7
Update pyright version to 1.1.350 ( #11501 )
...
If you're reading about this commit in an auto-generated changelog: this is an internal change that should have no impact on how these stubs are understood by static-analysis tools such as type checkers or IDEs
2024-02-29 10:14:39 +00:00
Jelle Zijlstra
bba8cbd6f8
stdlib: more deprecations ( #11009 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-02-18 06:50:29 -08:00
Nikita Sobolev
e961db9492
Change the asyncio.Task constructor type ( #10228 )
2024-02-17 15:50:26 -08:00
Alex Waygood
15cdc20744
Fix stdlib stubtest for Python 3.11.8 and 3.12.2 ( #11384 )
...
Fix stubtest for Python 3.11.8 and 3.12.2
2024-02-09 02:28:03 -08:00
Alex Waygood
c49c84f319
A new shade of Black ( #11362 )
2024-02-04 16:38:55 -08:00
Oleg A
b4f60ac5bf
asyncio: Correct _waiters type ( #11315 )
2024-01-25 20:24:54 +01: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