[Feature Request] Investigate asyncio.as_completed and asyncio.wait usage of set
as non-deterministic
#518
Labels
enhancement
New feature or request
Uh oh!
There was an error while loading. Please reload this page.
Describe the solution you'd like
asyncio.as_completed and asyncio.wait may be non-deterministic in their use of
set
. See https://github.com/python/cpython/blob/v3.12.3/Lib/asyncio/tasks.py#L609 and https://github.com/python/cpython/blob/v3.12.3/Lib/asyncio/tasks.py#L458. See if anything can be done and if not, document that they are dangerous and warn on their use. May need to provide deterministic alternatives.The text was updated successfully, but these errors were encountered: