You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inline comments about Task state in asyncio.tasks are out of date #109955
Some of the in-line comments in the asyncio.tasks module are out of date. They incorrectly describe the state transitions between a task in a sleeping and running state. This is unhelpful to anyone reading the code.
I've created a PR in #109910 where I offer an expanded comment reflecting the current logic.
changed the title [-]In line comments about Task state in tasks.py out of date[/-][+]Inline comments about Task state in ``asyncio.tasks`` are out of date[/+]on Sep 27, 2023
Activity
[-]In line comments about Task state in tasks.py out of date[/-][+]Inline comments about Task state in ``asyncio.tasks`` are out of date[/+]gh-109955 : Update state transition comments for asyncio.Task (#109910)
pythongh-109955 : Update state transition comments for asyncio.Task (p…
pythongh-109955 : Update state transition comments for asyncio.Task (p…
pythongh-109955 : Update state transition comments for asyncio.Task (p…
[3.11] gh-109955 : Update state transition comments for asyncio.Task (G…
[3.12] gh-109955 : Update state transition comments for asyncio.Task (G…
pythongh-109955 : Update state transition comments for asyncio.Task (p…