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. -- https://mail.python.org/mailman/listinfo/python-list