STINNER Victor <victor.stin...@haypocalc.com> added the comment: Le mercredi 31 août 2011 02:52:01, vous avez écrit : > > What do you want to do on a SIGSEGV? On a real fault, you cannot rely on > > Python internal state, you cannot use any Python object. To handle a > > real SIGSEGV fault, you have to implement a signal handler using only > > *signal safe* functions.... in C. > > Well, strictly speaking, it is very hard or impossible to write C code > that's guaranteed to be safe after an unexpected segv too
It is possible if you only use signal safe functions. I think that no Python function is signal safe :-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1215> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com