QUERY · ISSUE
extmod/uasyncio: gather gets stuck if you pass an empty list in v1.19
bugextmod
Hello, folks
This is pretty straightforward in v1.17 and v1.18 passing an empty list to gather will return (or yield) whereas in v1.19 it gets stuck for ever. Not sure if this is a new intended behavior (which is not in the docs?). I'm assuming this is a bug as there is nothing in the release notes.
Cheers,
CANDIDATE · PULL REQUEST
extmod/uasyncio/funcs.py: Handle gather with no awaitables.
extmod
This previously resulted in gather() yielding but with no way to be resumed.
Fixes #8937