Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 69100:a4fa79b0d478
Issue #11393: The fault handler handles also SIGABRT
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Fri, 01 Apr 2011 12:13:55 +0200 |
| parents | b0680b5a5215 |
| children | 6e9dc970ac0e |
comparison
equal
deleted
inserted
replaced
| 69099:e51d8a160a8a | 69100:a4fa79b0d478 |
|---|---|
| 2122 if (tstate != NULL) { | 2122 if (tstate != NULL) { |
| 2123 fputc('\n', stderr); | 2123 fputc('\n', stderr); |
| 2124 fflush(stderr); | 2124 fflush(stderr); |
| 2125 _Py_DumpTraceback(fd, tstate); | 2125 _Py_DumpTraceback(fd, tstate); |
| 2126 } | 2126 } |
| 2127 _PyFaulthandler_Fini(); | |
| 2127 } | 2128 } |
| 2128 | 2129 |
| 2129 #ifdef MS_WINDOWS | 2130 #ifdef MS_WINDOWS |
| 2130 { | 2131 { |
| 2131 size_t len = strlen(msg); | 2132 size_t len = strlen(msg); |
