#16901: cythonized function in combinatorial designs must be interruptible
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: combinatorial designs | Keywords:
Merged in: | Authors: Vincent Delecroix
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-------------------------------------+-------------------------------------
Right now, we can not interrupt `MOLS_table`... this is a consequence of
the intensive cythonization.
{{{
sage:
sage: from sage.combinat.designs.latin_squares import MOLS_table
sage: MOLS_table(10000)
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19
________________________________________________________________________________
0| +oo +oo 1 2 3 4 1 6 7 8 2 10 5 12 4 4 15
16 5 18
20| 4 5 3 22 7 24 4 26 5 28 4 30 31 5 4 5 8
36 4 5
40| 7 40 5 42 5 6 4 46 8 48 6 5 5 52 5 6 7
7 5 58
^CException KeyboardInterrupt: KeyboardInterrupt() in
'sage.combinat.designs.orthogonal_arrays_find_recursive.is_available'
ignored
360| 7 360 6 7 7 7 6 366 15 15 7 15 7 372 7 15 7
13 7 378
380| 7 12 7 382 15 15 7 15 7 388 7 16 7 7 7 7 8
396 7 7
400| 15 400 7 15 11 8 7 15 8 408 7 13 8 12 10 9 18
15 7 418
^CException KeyboardInterrupt: KeyboardInterrupt() in
'sage.combinat.designs.orthogonal_arrays_find_recursive.is_available'
ignored
...
}}}
We need more `sig_on()`, `sig_off()`.
--
Ticket URL: <http://trac.sagemath.org/ticket/16901>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.