Y
Hacker News
new
|
ask
|
show
|
jobs
by
bee_rider
619 days ago
I dunno, this just usually means I’m going to hold control and mash C, hopefully I can get my interrupt to occur inside your except
3 comments
encoderer
619 days ago
Signals are non-reentrant.
link
rcxdude
619 days ago
That's unecessary, because of the 'raise' statement. This construct effectively only hooks exceptions, it doesn't swallow them.
link
theamk
619 days ago
You know about Ctrl-\, right? Kills python right away, no exceptions or anything.
(there is also coredump but most distros disable or hide them, so it's not a problem in practice)
link