From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 16 May 2025 15:37:01 +0000 (+0200) Subject: [3.14] gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081) (#134093) X-Git-Tag: v3.14.0b2~139 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d00484f30a7189bd0e2a4c9b3df7a10173ab72c;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081) (#134093) gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081) (cherry picked from commit d94b1e9cac82143048031530e6c51e59f597bccd) Co-authored-by: Kumar Aditya --- diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst index 44b507a98111..7831b613bd4a 100644 --- a/Doc/library/asyncio-dev.rst +++ b/Doc/library/asyncio-dev.rst @@ -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 - ` 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.