Spurious resumption of cancelled io wait after selector.select
Spurious resumption of cancelled io wait after selector.select: a task in LegoFlow-SWE (Harbor dataset). When multiple fibers are waiting on the same IO object and one of them is interrupted (e.g., an exception is raised into it while it is blocked in selector.io wait ), the interrupted wait –…
The task
When multiple fibers are waiting on the same IO object and one of them is interrupted (e.g., an exception is raised into it while it is blocked in `selector.io_wait`), the interrupted wait – once cancelled – must **never** be resumed by a later `selector.select`.
Part of Lego-X/LegoFlow-SWE.