Begin WaitIterator iteration when __next__ is called.
For scenarios where they only want to get the first greenlet which exits, a user might write this code: next(gevent.iwait(greenlets)) Without this commit, the above snippet will hang, because the waited-upon objects have not been `rawlink()`ed. This change makes such bugs impossible.
Showing
Please register or sign in to comment