[pypy-issue] [issue1223] throwing GreenletExit into a running greenlet doesn't kill it

teepark tracker at bugs.pypy.org
Mon Jul 23 19:21:31 CEST 2012


New submission from teepark <travis.parker at gmail.com>:

greenlet_instance.throw(GreenletExit()) is not causing the target greenlet to 
exit, rather it is essentially an equivalent to greenlet_instance.switch().

it does the right thing if the greenlet_instance has not yet been switch()ed to.

----------
files: pypy_greenlet_repro.py
messages: 4619
nosy: pypy-issue, teepark
priority: bug
status: unread
title: throwing GreenletExit into a running greenlet doesn't kill it

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1223>
________________________________________


More information about the pypy-issue mailing list