8000 [3.13] gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081) by miss-islington · Pull Request #134094 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081)
(cherry picked from commit d94b1e9)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
  • Loading branch information
kumaraditya303 authored and miss-islington committed May 16, 2025
commit c75cf7eea22825e209b85bda7e3624fd62e5db58
4 changes: 0 additions & 4 deletions Doc/library/asyncio-dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ In addition to enabling the debug mode, consider also:

When the debug mode is enabled:

* asyncio checks for :ref:`coroutines that were not awaited
<asyncio-coroutine-not-scheduled>` and logs them; this mitigates
the "forgotten await" pitfall.

* Many non-threadsafe asyncio APIs (such as :meth:`loop.call_soon` and
:meth:`loop.call_at` methods) raise an exception if they are called
from a wrong thread.
Expand Down
Loading
0