File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Created: 05-Sep-2025
99Python-Version: 3.15
1010Post-History:
1111 `22-May-2025 <https://discuss.python.org/t/92939/ >`__,
12+ `25-Sep-2025 <https://discuss.python.org/t/103971/ >`__,
1213
1314Abstract
1415========
@@ -197,7 +198,8 @@ executing ``await sleep(0)``) to allow cancellation is undesirable. On the
197198other hand, *omitting * ``await sleep(0) `` would break the transitive property
198199that a syntactic ``await `` / ``async for `` / ``async with `` always calls back
199200into the async runtime (or raises an exception). While few codebases enforce
200- this property, we have found it indispensable in preventing deadlocks.
201+ this property today, we have found it indispensable in preventing deadlocks,
202+ and accordingly prefer a cleaner foundation for the ecosystem.
201203
202204
203205Workaround: using ``AsyncExitStack ``
You can’t perform that action at this time.
0 commit comments