[PyPy-issue] [issue693] Documentation needed: Coroutine garbage collection

Carl Friedrich Bolz pypy-dev-issue at codespeak.net
Tue Apr 26 08:58:50 CEST 2011

Carl Friedrich Bolz <cfbolz at gmx.de> added the comment:

Documenting this sounds good. I added the below paragraph to stackless.html:

When a coroutine is garbage-collected, it gets the ``.kill()`` method sent to
it. This happens at the point the next ``.switch`` method is called, so the
target coroutine of this call will be executed only after the ``.kill`` has

sounds good?

status: unread -> testing

PyPy development tracker <pypy-dev-issue at codespeak.net>

More information about the Pypy-issue mailing list