Commit fffd933
committed
Pull
Since `Py_CompileString` is unlikely to call Julia callback, there is
no need to put it in `disable_sigint`. `@pycheckn` for `PyEval_EvalCode`
is in `disable_sigint` because `PyErr_NormalizeException` may call the
constructor of the exception class which may invoke Julia callbacks.
This change may not be necessary but it seems to help Julia compiler
inlining `ccall`.Py_CompileString out of disable_sigint
1 parent dd2cbe0 commit fffd933
1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments