That's because you need to explicitly import/define sig_on and sig_off. I
guess that this is done automatically when the extension is .spyx.
In the file sage/graphs/cliquer.pyx it is done with the line :
include sage/ext/interrupt.pxi
Nathann
On Sunday, August 17, 2014 10:11:48 PM UTC+2, Paul
Thank you very much, it works !
Paul
Le dimanche 17 août 2014 22:46:17 UTC+2, Nathann Cohen a écrit :
That's because you need to explicitly import/define sig_on and sig_off. I
guess that this is done automatically when the extension is .spyx.
In the file sage/graphs/cliquer.pyx it is done