File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,11 @@ at a later point(for example at the next :term:`bytecode` instruction).
3636This has consequences:
3737
3838* It makes little sense to catch synchronous errors like :const: `SIGFPE ` or
39- :const: `SIGSEGV `.
39+ :const: `SIGSEGV ` that are caused by an invalid operation in C code. Python
40+ will return from the signal handler to the C code, which is likely to raise
41+ the same signal again, causing Python to apparently hang. From Python 3.3
42+ onwards, you can use the :mod: `faulthandler ` module to report on synchronous
43+ errors.
4044
4145* A long-running calculation implemented purely in C (such as regular
4246 expression matching on a large body of text) may run uninterrupted for an
Original file line number Diff line number Diff line change @@ -974,6 +974,7 @@ Oleg Plakhotnyuk
974974Remi Pointel
975975Guilherme Polo
976976Michael Pomraning
977+ Martin Pool
977978Iustin Pop
978979Claudiu Popa
979980John Popplewell
You can’t perform that action at this time.
0 commit comments