This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients cstratak, ishcherb, serhiy.storchaka, vstinner
Date 2017-10-09.19:31:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507577505.4.0.213398074469.issue31719@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2017-10-09 19:31:45serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, cstratak, ishcherb
2017-10-09 19:31:45serhiy.storchakasetmessageid: <1507577505.4.0.213398074469.issue31719@psf.upfronthosting.co.za>
2017-10-09 19:31:45serhiy.storchakalinkissue31719 messages
2017-10-09 19:31:45serhiy.storchakacreate