Message303994
Why not use just abort() or Py_FatalError()?
$ ./python -c 'import ctypes; ctypes.CDLL("libc.so.6").abort()'
Aborted (core dumped)
$ ./python -c 'import ctypes; ctypes.pythonapi.Py_FatalError(b"boom!")'
Fatal Python error: boom!
Current thread 0x00007f26805c7580 (most recent call first):
File "<string>", line 1 in <module>
Aborted (core dumped) |
|
| Date |
User |
Action |
Args |
| 2017-10-09 19:31:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, cstratak, ishcherb |
| 2017-10-09 19:31:45 | serhiy.storchaka | set | messageid: <1507577505.4.0.213398074469.issue31719@psf.upfronthosting.co.za> |
| 2017-10-09 19:31:45 | serhiy.storchaka | link | issue31719 messages |
| 2017-10-09 19:31:45 | serhiy.storchaka | create | |
|