Commit Graph
248 Commits
Author SHA1 Message Date
Brian SchubertandGitHub 622df68c1c Add @type_check_only to stub-only private classes in stdlib (#14512) 2025-08-03 10:13:16 +02:00
Sebastian RittauGitHubAlex Waygoodpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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 RittauandGitHub 82edad066f Updates for Python 3.14rc1 (#14446) 2025-07-24 16:30:00 +02:00
Michael HandGitHub d73534badf add rich comparison bound to heapq and priorityqueues using heapq (#14419) 2025-07-15 19:36:28 -07:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>Alex Waygood
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 SchubertandGitHub 707cd57e49 Add asyncio.tools stubs for 3.14 (#14305) 2025-06-21 11:09:25 -07:00
Max MuotoandGitHub bacccd0972 Update asyncio.task.eager_task_factory for 3.14 (#14236) 2025-06-07 19:12:18 -07:00
sobolevnandGitHub a9e7afa7be Update events and windows_events for asyncio in 3.14 (#14128) 2025-05-25 09:13:19 -07:00
Max MuotoandGitHub 39f53a06aa Resolve _asyncio issues (#14089) 2025-05-16 21:06:38 -07:00
Max MuotoandGitHub 06f3fc9fd7 Add asyncio.graph, updates to asyncio.futures (3.14) (#14003) 2025-05-12 08:52:33 +02:00
Sebastian RittauandGitHub 2d46095e3f Fix errors when type checking stdlib with Python 3.14 (#13977) 2025-05-09 21:04:35 +02:00
Sebastian RittauandGitHub 30b16c168d Drop Python 3.8 branches (#13776) 2025-04-03 10:35:36 +02:00
Sam BullandGitHub b4e49dd521 [asyncio] Allow any memoryview in write() and writelines() (#13519) 2025-03-20 17:49:10 +01:00
Max MuotoandGitHub 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
AvasamandGitHub 6f98c59f93 Enable Ruff PLR (Pylint Refactor) (#13307) 2025-03-03 18:03:34 +01:00
AvasamandGitHub 62feb28c29 Enable Ruff SIM (#13309) 2025-02-26 23:19:36 +01:00
Michael HandGitHub cc8ca939c0 Fix type for run_coroutine_threadsafe (#13498) 2025-02-14 13:23:11 +00:00
Stephen MortonandGitHub 87267342d5 add asyncio.__all__ (#13038) 2024-12-27 20:58:40 -08:00
Stephen MortonandGitHub d8822689f7 fix stubs for asyncio.BaseEventLoop.subprocess_exec (#13220) 2024-12-25 14:25:39 -08:00
Stephen MortonandGitHub b0768596d2 correct parameter name for sock_recv of BaseEventLoop subclasses (#13212) 2024-12-09 18:26:34 -08:00
Ekin DursunandGitHub 61ba4de28f Change return type of as_completed in Python 3.13 (#12912) 2024-10-27 16:33:35 +00:00
Stephen MortonandGitHub aedf65abe9 remove unneeded AsyncIterator base class from asyncio.StreamReader (#12815) 2024-10-15 11:25:40 -07:00
Stephen MortonandGitHub 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
sobolevnandGitHub 6f248dfa37 Bump mypy to 1.11.1 (#12463) 2024-08-04 23:19:28 -07:00
Peter BiermaandGitHub d2ccc9a723 Fix return type annotation for asyncio.Task.get_coro() (#12445) 2024-07-27 10:00:45 -07:00
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 MuotoandGitHub 670ca3125b Resolve asyncio issues for 3.13 (#12327) 2024-07-13 10:12:15 +02:00
Kumar AdityaGitHubpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>Alex Waygood
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 AdityaandGitHub 8ddd5102ed remove Generator from _FutureLike (#12185)
It is not allowed in Python 3.12+.
2024-06-22 06:59:30 -07:00
Jelle ZijlstraandGitHub eeea0ac614 asyncio: fix task factory types (#11993) 2024-05-21 11:18:38 +02:00
ShantanuandGitHub d9cf43c4c3 Mark pos-only __class_getitem__ args (#11970) 2024-05-18 23:27:51 +02:00
Marc MuellerandGitHub 9178f5a414 Use TypeIs for asyncio function (#11847) 2024-04-29 15:17:09 -07:00
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 MerryandGitHub 9d234d9c3f Update asyncio.Stream.readuntil for Python 3.13 (#11755) 2024-04-14 14:11:44 +02:00
ShantanuandGitHub 470a13ab09 Use PEP 570 syntax in stdlib (#11250) 2024-03-09 14:50:16 -08:00
Jelle ZijlstraandGitHub 5b1fd121e0 asyncio: Fix type of add_child_handler callback (#11548) 2024-03-09 17:02:05 +01:00
Nikita SobolevandGitHub 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
bba8cbd6f8 stdlib: more deprecations (#11009)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-18 06:50:29 -08:00
Nikita SobolevandGitHub e961db9492 Change the asyncio.Task constructor type (#10228) 2024-02-17 15:50:26 -08:00
Alex WaygoodandGitHub 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 WaygoodandGitHub c49c84f319 A new shade of Black (#11362) 2024-02-04 16:38:55 -08:00
Oleg AandGitHub b4f60ac5bf asyncio: Correct _waiters type (#11315) 2024-01-25 20:24:54 +01:00
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 RittauandGitHub 23604858a6 Remove Python 3.7 branches (#11238) 2024-01-05 11:39:39 +01:00
Stephen MortonandGitHub 45b1db9f8e use _LoopBoundMixin in asyncio when appropriate (#11127)
related to https://github.com/python/typeshed/issues/3968
2023-12-09 20:36:34 -08:00
Alex WaygoodandGitHub a08d2d5d66 Use PEP-646 in stubs for asyncio (#11015) 2023-12-08 22:59:42 +00:00
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
Paul J. DornandGitHub 1d3a18c6da asyncio: create_subprocess_exec is the same as create_subprocess_shell, except where it isn't (#11076)
asyncio.subprocess: duplicate _shell args to _exec

Fixes: 38dfb57adf

Expanding the keywords used True arguments for shell in both _exec and _shell. The _exec one is for shell=False. With the text argument, its the other way around: both demand Falsy here, so match those lines.
2023-11-29 16:11:03 +00:00
Alex WaygoodandGitHub 10febc4fe0 stdlib: remove unused type: ignore comments (#11061) 2023-11-23 14:00:07 +01:00
Jelle ZijlstraandGitHub c2c8d7cf5d stdlib: Apply some simple deprecations (#11044) 2023-11-23 09:03:01 +01:00