Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #110811
| From | Random832 <random832@fastmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: "for/while ... break(by any means) ... else" make sense? |
| Date | 2016-06-30 00:59 -0400 |
| Message-ID | <mailman.123.1467262795.2358.python-list@python.org> (permalink) |
| References | (2 earlier) <57746765$0$1593$c3e8da3$5496439d@news.astraweb.com> <CAPTjJmqAmesf58J9bYa7_vWXTtjnFU7JrkGy5hoqFNC3tTx-8Q@mail.gmail.com> <mailman.116.1467250108.2358.python-list@python.org> <57749c30$0$1598$c3e8da3$5496439d@news.astraweb.com> <1467262793.2539987.652709769.7976A72F@webmail.messagingengine.com> |
On Thu, Jun 30, 2016, at 00:12, Steven D'Aprano wrote: > I tried to find the actual implementation of os.abort(), but I > couldn't work out where it was or what it does. Can somebody > enlighten me? It's in posixmodule.c, it calls abort(), which is a standard C function, equivalent to killing the process with SIGABRT. The core dump behavior is defined as the default signal behavior as SIGABRT in POSIX. Windows has its own additional behavior for the abort function: https://msdn.microsoft.com/en-us/library/k089yyh0.aspx It's not a "segfault", but both behaviors (core dump on unix, and error reporting popup on windows) are reminiscent of it, so that may be what you're thinking of.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: "for/while ... break(by any means) ... else" make sense? Victor Savu <victor.nicolae.savu@gmail.com> - 2016-06-29 10:01 +0000
Re: "for/while ... break(by any means) ... else" make sense? Steven D'Aprano <steve@pearwood.info> - 2016-06-30 10:27 +1000
Re: "for/while ... break(by any means) ... else" make sense? Chris Angelico <rosuav@gmail.com> - 2016-06-30 11:28 +1000
Re: "for/while ... break(by any means) ... else" make sense? Rustom Mody <rustompmody@gmail.com> - 2016-06-29 19:26 -0700
Re: "for/while ... break(by any means) ... else" make sense? Random832 <random832@fastmail.com> - 2016-06-30 00:00 -0400
Re: "for/while ... break(by any means) ... else" make sense? Steven D'Aprano <steve@pearwood.info> - 2016-06-30 14:12 +1000
Re: "for/while ... break(by any means) ... else" make sense? Chris Angelico <rosuav@gmail.com> - 2016-06-30 14:40 +1000
Re: "for/while ... break(by any means) ... else" make sense? Zachary Ware <zachary.ware+pylist@gmail.com> - 2016-06-29 23:47 -0500
Re: "for/while ... break(by any means) ... else" make sense? Random832 <random832@fastmail.com> - 2016-06-30 00:59 -0400
csiph-web