On Wed, Dec 10, 2008 at 8:01 PM, Adam Olsen <[EMAIL PROTECTED]> wrote: .. > It is impossible to do in general, and I am -1 on any misguided > attempts to do so. >
I agree, recovering from segfaults caused by buggy third party C modules is a losing proposition, but for a limited number of conditions that can be triggered from python code running on a non-buggy interpreter (hopefully ctypes included, but that would be hard), converting signals into exceptions may be possible. .. > Printing a stack trace and then aborting would be possible and useful though. > Even a simple dialog: Python have encountered a segfault, would you like to dump core? y/n in the interactive session will be quite useful. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com