ironport/shrapnel — Issue #3: yield from <main> causes segfault
Author: samrushing
Created: 2011-12-07 20:11:43+00:00
State: open

Trigger a yield from `

` (say, with a socket recv()), and you'll segfault.
In _coro.pyx:1289:

cdef _YIELD():
return (the_scheduler._current).__yield ()

_current is `None` when in `

`.