KeyBoardInterrupt is sometimes raised in all greenlets instead of the main greenlet
After investigating issues #2833 and #2886 (closed) I noticed that in the Bliss demo session when doing CTRL-C on a loopscan (using any detector) KeyBoardInterrupt
is sometimes raised in ALL greenlets instead of the only the main greenlet. This NOT the normal behavior of gevent
.
The normal gevent
behavior is having gevent.hub.Hub.handle_error
called by the SIGINT handler of the process. However it seems that a CTRL-C of a scan in Bliss (using the repl or Bliss as a library) somehow causes KeyBoardInterrupt
in all running greenlets, in addition this happens before gevent.hub.Hub.handle_error
gets called (whoch siometimes does not get called at all).
Edited by Wout De Nolf