On Thursday, June 30, 2016 at 6:58:42 AM UTC+5:30, Chris Angelico wrote:
> On Thu, Jun 30, 2016 at 10:27 AM, Steven D'Aprano wrote:
> > Following os.abort(), the interpreter exits in the hardest, quickest manner
> > possible.
> 
> os.kill(os.getpid(), 9)
> 
> Now THAT is the hardest way to abort. You ain't comin' back from this one!

Is it?

| On Windows, signal() can only be called with SIGABRT, SIGFPE, SIGILL, SIGINT,
| SIGSEGV, or SIGTERM. A ValueError will be raised in any other case. 

from https://docs.python.org/3.5/library/signal.html

9 may still work?? Dunno...
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to