An open API service for providing issue and pull request metadata for open source projects.

GitHub / python/cpython issues and pull requests

Labelled with: topic-asyncio

#139571 - [3.13] gh-138703: clarify data buffer requirement of `asyncio.StreamWriter.write` (GH-139564)

Pull Request - State: closed - Opened by miss-islington 2 months ago
Labels: topic-asyncio, awaiting merge, skip news

#139564 - gh-138703: clarify data buffer requirement of `asyncio.StreamWriter.write`

Pull Request - State: closed - Opened by kumaraditya303 2 months ago
Labels: docs, topic-asyncio, awaiting core review, skip news, needs backport to 3.13, needs backport to 3.14

#139539 - [3.14] gh-105987: unskip `test_issue105987` from `test_asyncio.test_eager_task_factory` (GH-139538)

Pull Request - State: closed - Opened by miss-islington 2 months ago
Labels: tests, topic-asyncio, awaiting merge, skip news

#139538 - gh-105987: unskip `test_issue105987` from `test_asyncio.test_eager_task_factory`

Pull Request - State: closed - Opened by kumaraditya303 2 months ago
Labels: tests, topic-asyncio, awaiting core review, skip news, needs backport to 3.14

#138717 - [asyncio] cancelling task cancels awaited task instead

Issue - State: closed - Opened by Tinche 3 months ago - 6 comments
Labels: type-feature, topic-asyncio, stdlib, pending

#138703 - Correctly indicate the input type limitations of `asyncio.write` and `asyncio.sendto`

Issue - State: closed - Opened by tecki 3 months ago - 18 comments
Labels: type-bug, docs, topic-asyncio

#138702 - [3.14] gh-136234: Fix `SelectorSocketTransport.writelines` to be robust to connection loss (GH-136743)

Pull Request - State: closed - Opened by kumaraditya303 3 months ago
Labels: type-bug, topic-asyncio, awaiting core review, needs backport to 3.13

#138674 - [3.13] gh-136234: Fix `SelectorSocketTransport.writelines` to be robust to connection loss (GH-136743)

Pull Request - State: closed - Opened by miss-islington 3 months ago - 1 comment
Labels: type-bug, topic-asyncio, awaiting review

#137913 - [3.13] gh-135862: add C contiguous one-dimensional buffer requirement to `asyncio.StreamWriter` docs (GH-137910)

Pull Request - State: closed - Opened by miss-islington 4 months ago
Labels: docs, topic-asyncio, awaiting merge, skip news

#137912 - [3.14] gh-135862: add C contiguous one-dimensional buffer requirement to `asyncio.StreamWriter` docs (GH-137910)

Pull Request - State: closed - Opened by miss-islington 4 months ago
Labels: docs, topic-asyncio, awaiting merge, skip news

#137908 - [3.14] gh-127859: Fixed documentation for call_later and call_at for early wakeup in asyncio (GH-137859)

Pull Request - State: closed - Opened by miss-islington 4 months ago
Labels: docs, topic-asyncio, awaiting merge, skip news

#137853 - [3.14] gh-90483: fix docs of `SubprocessTransport.get_pipe_transport ` (GH-137852)

Pull Request - State: closed - Opened by miss-islington 4 months ago
Labels: docs, topic-asyncio, awaiting merge, skip news

#137851 - [3.13] gh-101359: clarify docs for `asyncio.Event.clear` (GH-137849)

Pull Request - State: closed - Opened by miss-islington 4 months ago
Labels: docs, topic-asyncio, awaiting merge, skip news

#137849 - gh-101359: clarify docs for `asyncio.Event.clear`

Pull Request - State: closed - Opened by kumaraditya303 4 months ago
Labels: docs, topic-asyncio, awaiting core review, skip news, needs backport to 3.13, needs backport to 3.14

#137582 - [3.13] gh-137026: Add an explainer guide for asyncio (GH-137215)

Pull Request - State: closed - Opened by miss-islington 4 months ago
Labels: docs, topic-asyncio, awaiting merge, skip news

#137581 - [3.14] gh-137026: Add an explainer guide for asyncio (GH-137215)

Pull Request - State: closed - Opened by miss-islington 4 months ago
Labels: docs, topic-asyncio, awaiting merge, skip news

#137215 - gh-137026: Add an explainer guide for asyncio

Pull Request - State: closed - Opened by anordin95 4 months ago - 14 comments
Labels: docs, topic-asyncio, awaiting merge, skip news, needs backport to 3.13, needs backport to 3.14

#136881 - `test_asyncio.test_create_server_ssl_1` is broken with OpenSSL 3.2.5 + Python 3.12.11 on Yocto 5.0

Issue - State: closed - Opened by petermarko 5 months ago - 12 comments
Labels: tests, topic-asyncio, type-crash, topic-SSL, OS-unsupported

#136433 - `test_shutdown_timeout_handler_not_set` failed locally

Issue - State: open - Opened by sobolevn 5 months ago
Labels: type-bug, tests, topic-asyncio

#136368 - gh-98388: add tests for happy eyeballs

Pull Request - State: closed - Opened by kumaraditya303 5 months ago - 1 comment
Labels: tests, topic-asyncio, awaiting merge, skip news

#136234 - SelectorSocketTransport.writelines does not protect against connection lost

Issue - State: open - Opened by bmerry 5 months ago - 1 comment
Labels: type-bug, topic-asyncio, stdlib, 3.13, 3.14, 3.15

#136221 - [3.14] gh-135836: Fix `IndexError` in `asyncio.create_connection()` (GH-135875)

Pull Request - State: closed - Opened by miss-islington 5 months ago
Labels: topic-asyncio, awaiting merge

#136168 - [3.13] gh-135836: Fix `IndexError` in `asyncio.create_connection` with empty exceptions list (GH-135845)

Pull Request - State: closed - Opened by miss-islington 5 months ago
Labels: topic-asyncio, awaiting merge

#136167 - [3.14] gh-135836: Fix `IndexError` in `asyncio.create_connection` with empty exceptions list (GH-135845)

Pull Request - State: closed - Opened by miss-islington 5 months ago
Labels: topic-asyncio, awaiting merge

#136159 - gh-136157: Optimize asyncio.to_thread to avoid contextvars.copy_context() overhead for empty contexts

Pull Request - State: closed - Opened by heliang666s 5 months ago - 5 comments
Labels: topic-asyncio, awaiting review

#135875 - gh-135836: Fix IndexError in asyncio.create_connection()

Pull Request - State: closed - Opened by serhiy-storchaka 6 months ago
Labels: topic-asyncio, awaiting merge, needs backport to 3.13, needs backport to 3.14

#135862 - asyncio socket write a multi-dimensional memoryview could truncate data

Issue - State: closed - Opened by codingl2k1 6 months ago - 12 comments
Labels: type-bug, topic-asyncio, stdlib

#135836 - IndexError when calling asyncio.open_connection

Issue - State: closed - Opened by vToMy 6 months ago - 13 comments
Labels: type-bug, topic-asyncio, stdlib

#135674 - add async generators section to asyncio internal docs

Pull Request - State: closed - Opened by kumaraditya303 6 months ago
Labels: docs, topic-asyncio, skip issue, awaiting merge, skip news

#135674 - add async generators section to asyncio internal docs

Pull Request - State: open - Opened by kumaraditya303 6 months ago
Labels: docs, topic-asyncio, skip issue, awaiting core review, skip news

#135444 - 3.13 asyncio DatagramTransport buffer size accounting regression.

Issue - State: closed - Opened by jsbronder 6 months ago - 1 comment
Labels: type-bug, topic-asyncio, stdlib, 3.13, 3.14, 3.15

#135413 - asyncio.Runner & Eventloop will try to create thread at interpreter shutdown to shutdown default executor

Issue - State: open - Opened by fried 6 months ago - 6 comments
Labels: type-bug, topic-asyncio, pending

#135371 - `get_all_awaited_by()` shows incorrect call stacks in awaited_by relationships

Issue - State: closed - Opened by pablogsal 6 months ago
Labels: type-bug, topic-asyncio, stdlib, 3.14, 3.15

#134750 - gh-134664: Document cleanup_socket parameter in asyncio.start_unix_server()

Pull Request - State: closed - Opened by ashm-dev 7 months ago
Labels: docs, topic-asyncio, awaiting merge, skip news, needs backport to 3.13, needs backport to 3.14

#134664 - asyncio.start_unix_server() cleanup_socket defaulting to true in 3.13 is not documented

Issue - State: closed - Opened by dmitrin9 7 months ago - 3 comments
Labels: type-bug, docs, topic-asyncio, 3.13, 3.14, 3.15

#134657 - asyncio has underscored names in its `__all__`

Issue - State: open - Opened by JelleZijlstra 7 months ago
Labels: type-bug, topic-asyncio

#134562 - [3.13] gh-114177: avoid calling connection lost callbacks when loop is already closed in asyncio subprocess (GH-134508)

Pull Request - State: closed - Opened by miss-islington 7 months ago
Labels: type-bug, topic-asyncio, awaiting merge

#134561 - [3.14] gh-114177: avoid calling connection lost callbacks when loop is already closed in asyncio subprocess (GH-134508)

Pull Request - State: closed - Opened by miss-islington 7 months ago
Labels: type-bug, topic-asyncio, awaiting merge

#134508 - gh-114177: avoid calling connection lost callbacks when loop is already closed in asyncio subprocess

Pull Request - State: closed - Opened by kumaraditya303 7 months ago
Labels: type-bug, topic-asyncio, awaiting core review, needs backport to 3.13, needs backport to 3.14

#134451 - Using a frozen attributes to Exception class

Issue - State: closed - Opened by RenameMe1 7 months ago - 2 comments
Labels: type-bug, topic-asyncio, topic-dataclasses

#134421 - [3.14] gh-90871: fix connection backlog offset in asyncio (gh-134392)

Pull Request - State: closed - Opened by miss-islington 7 months ago
Labels: topic-asyncio, awaiting review

#134392 - gh-90871: fix connection backlog offset in asyncio

Pull Request - State: closed - Opened by ChristianHrs 7 months ago - 5 comments
Labels: topic-asyncio, needs backport to 3.13

#134173 - concurrent.futures→asyncio state transfer is a bottleneck

Issue - State: closed - Opened by bdraco 7 months ago - 1 comment
Labels: performance, topic-asyncio, stdlib

#134094 - [3.13] gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081)

Pull Request - State: closed - Opened by miss-islington 7 months ago
Labels: docs, topic-asyncio, awaiting merge, skip news

#134093 - [3.14] gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081)

Pull Request - State: closed - Opened by miss-islington 7 months ago
Labels: docs, topic-asyncio, awaiting merge, skip news

#134081 - gh-133515: fix docs for unawaited coroutines in debug mode

Pull Request - State: closed - Opened by kumaraditya303 7 months ago
Labels: docs, topic-asyncio, awaiting core review, skip news, needs backport to 3.13, needs backport to 3.14

#133893 - asyncio.graph.format_call_graph() should use io.Writer instead of typing.TextIO

Issue - State: closed - Opened by srittau 7 months ago
Labels: type-feature, topic-asyncio, stdlib

#133808 - [3.13] gh-128308: Revert "pass `**kwargs` to asyncio task_factory (GH-128768) (#130084)"

Pull Request - State: closed - Opened by kumaraditya303 7 months ago - 19 comments
Labels: topic-asyncio, awaiting merge

#133808 - [3.13] gh-128308: Revert "pass `**kwargs` to asyncio task_factory (GH-128768) (#130084)"

Pull Request - State: closed - Opened by kumaraditya303 7 months ago - 19 comments
Labels: topic-asyncio, awaiting merge

#133747 - asyncio.TaskGroup's uncancelation behavior in 3.12 is inconsisted with others (3.1x) implementations

Issue - State: closed - Opened by realitycheck 7 months ago - 4 comments
Labels: type-bug, topic-asyncio, stdlib, 3.12

#133536 - asyncio.create_subprocess_exec hanging when exception in gathered task

Issue - State: closed - Opened by alexyao2015 7 months ago - 1 comment
Labels: type-bug, topic-asyncio, stdlib

#133515 - asyncio dev docs claim that asyncio debug mode checks for unawaited coroutines

Issue - State: closed - Opened by graingert 7 months ago
Labels: docs, topic-asyncio

#133425 - `test_external_inspection`: `test_async_remote_stack_trace` fails intermittently

Issue - State: closed - Opened by encukou 7 months ago - 7 comments
Labels: type-bug, topic-asyncio, stdlib, 3.14

#133372 - Implement types._GeneratorWrapper in C

Issue - State: closed - Opened by efimov-mikhail 7 months ago - 14 comments
Labels: type-feature, topic-asyncio, extension-modules, pending

#133016 - Test Asyncio Utils References futures.TimeoutError Which Does Not Exist

Issue - State: closed - Opened by johnzhou721 8 months ago - 4 comments
Labels: type-bug, tests, topic-asyncio

#132593 - `create_task(name=...)` silently fails to set name with custom task_factory after gh-128308

Issue - State: closed - Opened by sergiosacj 8 months ago - 4 comments
Labels: type-bug, topic-asyncio, stdlib

#132465 - [3.13] gh-132354: document return value for `asyncio.Task.cancel` (GH-132374)

Pull Request - State: closed - Opened by miss-islington 8 months ago
Labels: topic-asyncio, awaiting merge, skip news

#132374 - gh-132354: document return value for `asyncio.Task.cancel`

Pull Request - State: closed - Opened by felixscherz 8 months ago - 2 comments
Labels: docs, topic-asyncio, awaiting merge, skip news, needs backport to 3.13

#132354 - AsyncIO-Docs: Task.cancel return value not documented

Issue - State: closed - Opened by ml-physec 8 months ago
Labels: docs, topic-asyncio

#132324 - gh-132307: Remove unnecessary check in `asyncio/base_events.py`

Pull Request - State: closed - Opened by StanFromIreland 8 months ago
Labels: topic-asyncio, awaiting core review, skip news

#132307 - Inconsistent code found by static analyzers at base_events.py

Issue - State: closed - Opened by Anchels 8 months ago - 4 comments
Labels: type-bug, topic-asyncio, stdlib, easy

#131797 - gh-128002: run all asyncio tests with tsan CI

Pull Request - State: closed - Opened by kumaraditya303 9 months ago
Labels: topic-asyncio, awaiting merge, skip news, topic-free-threading

#131645 - ResourceWarning(s) from test_asyncio.test_events.TestPyGetEventLoop.test_get_event_loop_new_process

Issue - State: closed - Opened by graingert 9 months ago - 1 comment
Labels: type-bug, tests, topic-asyncio, 3.13, 3.14

#131417 - stdtypes don't mention asyncio generic classes

Issue - State: closed - Opened by asvetlov 9 months ago - 5 comments
Labels: docs, topic-asyncio, easy

#131399 - gh-128002: fix tsan race in closing socket in test_sslproto

Pull Request - State: closed - Opened by kumaraditya303 9 months ago
Labels: topic-asyncio, awaiting core review, skip news, topic-free-threading

#131397 - gh-128002: fix tsan race in closing socket in test_ssl

Pull Request - State: closed - Opened by kumaraditya303 9 months ago
Labels: topic-asyncio, skip news, topic-free-threading

#131377 - [3.13] gh-131325: fix sendfile fallback implementation to drain data after writing to transport (GH-131376)

Pull Request - State: closed - Opened by miss-islington 9 months ago
Labels: type-bug, topic-asyncio, awaiting merge

#131376 - gh-131325: fix sendfile fallback implementation to drain data after writing to transport

Pull Request - State: closed - Opened by kumaraditya303 9 months ago
Labels: type-bug, topic-asyncio, awaiting merge, needs backport to 3.12, needs backport to 3.13

#131325 - data race while running `test_asyncio.test_sendfile` in TSAN

Issue - State: closed - Opened by kumaraditya303 9 months ago - 1 comment
Labels: type-bug, topic-asyncio, extension-modules, topic-free-threading

#131148 - asyncio.events.BaseDefaultEventLoopPolicy gone from Python 3.14 without prior deprecation

Issue - State: closed - Opened by hroncok 9 months ago - 5 comments
Labels: type-bug, topic-asyncio, stdlib, 3.14

#131131 - import asyncio fails in Windows minimal safe mode

Issue - State: open - Opened by az0 9 months ago - 8 comments
Labels: type-bug, topic-asyncio, OS-windows, extension-modules

#131109 - fix various warnings in `test_asyncio.test_tasks`

Pull Request - State: closed - Opened by kumaraditya303 9 months ago
Labels: tests, topic-asyncio, skip issue, awaiting core review, skip news

#131106 - gh-128002: add test_asyncio.test_free_threading to tsan CI

Pull Request - State: open - Opened by kumaraditya303 9 months ago
Labels: topic-asyncio, skip news, topic-free-threading

#131009 - GH-109564: add asyncio.Server state machine

Pull Request - State: open - Opened by ordinary-jamie 9 months ago - 2 comments
Labels: topic-asyncio, awaiting review

#130915 - PidfdChildWatcher removed without deprecation

Issue - State: closed - Opened by allisonkarlitskaya 9 months ago - 16 comments
Labels: type-bug, topic-asyncio, stdlib, 3.14

#130826 - [3.12] gh-130736: Fix asyncio test_shutdown_default_executor_timeout() (GH-130800)

Pull Request - State: closed - Opened by miss-islington 9 months ago
Labels: tests, topic-asyncio, awaiting review, skip news

#130825 - [3.13] gh-130736: Fix asyncio test_shutdown_default_executor_timeout() (GH-130800)

Pull Request - State: closed - Opened by miss-islington 9 months ago
Labels: tests, topic-asyncio, awaiting review, skip news

#130800 - gh-130736: Fix asyncio test_shutdown_default_executor_timeout()

Pull Request - State: closed - Opened by vstinner 9 months ago - 2 comments
Labels: tests, topic-asyncio, awaiting merge, skip news, needs backport to 3.12, needs backport to 3.13

#130800 - gh-130736: Fix asyncio test_shutdown_default_executor_timeout()

Pull Request - State: open - Opened by vstinner 9 months ago - 2 comments
Labels: tests, topic-asyncio, awaiting merge, skip news, needs backport to 3.12, needs backport to 3.13

#130736 - `test_shutdown_default_executor_timeout` asyncio test is flaky

Issue - State: closed - Opened by colesbury 9 months ago - 2 comments
Labels: type-bug, tests, topic-asyncio, topic-free-threading

#130515 - gh-129874: avoid mixing pure python and C impl in eager execution

Pull Request - State: closed - Opened by kumaraditya303 10 months ago
Labels: topic-asyncio, awaiting core review, skip news

#130322 - asyncio: Re-reverse deprecation of set_event_loop?

Issue - State: closed - Opened by bdarnell 10 months ago - 12 comments
Labels: type-feature, topic-asyncio, stdlib

#130245 - gh-130221: fix crash when accessing module state while interp is finalizing in asyncio

Pull Request - State: closed - Opened by kumaraditya303 10 months ago - 1 comment
Labels: topic-asyncio, skip news

#130221 - Crash when accessing the `asyncio` module state in task deallocation

Issue - State: closed - Opened by befeleme 10 months ago - 7 comments
Labels: topic-asyncio, extension-modules, type-crash, 3.14

#130147 - [3.13] gh-130145: fix `loop.run_forever` when loop is already running (GH-130146)

Pull Request - State: closed - Opened by miss-islington 10 months ago
Labels: type-bug, topic-asyncio, awaiting merge, needs backport to 3.12

#130147 - [3.13] gh-130145: fix `loop.run_forever` when loop is already running (GH-130146)

Pull Request - State: closed - Opened by miss-islington 10 months ago
Labels: type-bug, topic-asyncio, needs backport to 3.12

#130146 - gh-130145: fix `loop.run_forever` when loop is already running

Pull Request - State: closed - Opened by kumaraditya303 10 months ago - 1 comment
Labels: type-bug, topic-asyncio, awaiting core review, needs backport to 3.12, needs backport to 3.13

#130146 - gh-130145: fix `loop.run_forever` when loop is already running

Pull Request - State: closed - Opened by kumaraditya303 10 months ago - 4 comments
Labels: type-bug, topic-asyncio, needs backport to 3.12

#130145 - loop.run_forever can remove running loop if already running

Issue - State: closed - Opened by kumaraditya303 10 months ago
Labels: type-bug, topic-asyncio, 3.12, 3.13, 3.14

#130142 - gh-130141: clean up asyncio._SelectorTransport during __del__

Pull Request - State: open - Opened by lunixbochs 10 months ago
Labels: topic-asyncio, awaiting review

#129943 - gh-128002: add fast path for native tasks in `asyncio.all_tasks`

Pull Request - State: closed - Opened by kumaraditya303 10 months ago
Labels: topic-asyncio, skip news

#129943 - gh-128002: add fast path for native tasks in `asyncio.all_tasks`

Pull Request - State: closed - Opened by kumaraditya303 10 months ago
Labels: topic-asyncio, awaiting core review, skip news

#129942 - gh-128002: simplify all_tasks to use `PyList_Extend` instead of manual iteration

Pull Request - State: closed - Opened by kumaraditya303 10 months ago - 1 comment
Labels: topic-asyncio, skip news

#129942 - gh-128002: simplify all_tasks to use `PyList_Extend` instead of manual iteration

Pull Request - State: open - Opened by kumaraditya303 10 months ago
Labels: topic-asyncio, skip news

#129899 - gh-129898: per-thread current task implementation in asyncio

Pull Request - State: closed - Opened by kumaraditya303 10 months ago
Labels: topic-asyncio, skip news

#129899 - gh-129898: per-thread current task implementation in asyncio

Pull Request - State: closed - Opened by kumaraditya303 10 months ago
Labels: topic-asyncio, awaiting merge, skip news