Commit Graph
257 Commits
Author SHA1 Message Date
Sebastian RittauandGitHub a54c270b02 Add asyncio.tools.exit_with_permission_help_text() (#14747)
Part of #14741
2025-09-19 07:30:58 -07:00
Brian SchubertandGitHub b2777f4cbb Mark stub-only types with runtime aliases as @type_check_only in stdlib (#14717) 2025-09-14 19:57:39 +02:00
Semyon MorozandGitHub 91e2ed0953 [stdlib] Add more default values (#14632) 2025-08-24 16:56:42 +01:00
Jelle ZijlstraandGitHub 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 ZijlstraandGitHub f32d9f08bd stdlib: add __slots__ (#14611) 2025-08-21 07:24:59 -07:00
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 MorozandGitHub 9bb8c4f1f9 [stdlib] Add missing Final (#14613) 2025-08-21 12:18:20 +02:00
Jelle ZijlstraandGitHub 02a4b07b54 stdlib: add some parameter defaults (#14610) 2025-08-21 09:17:33 +02:00
Semyon MorozGitHubAlex Waygoodpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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 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