#16901: cythonized function in combinatorial designs must be interruptible
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: combinatorial | Resolution:
designs | Merged in:
Keywords: | Reviewers: Nathann Cohen
Authors: Vincent Delecroix | Work issues:
Report Upstream: N/A | Commit:
Branch: | 00f4fdb067d61ec76b87efb0f250a4937bda9046
u/vdelecroix/16901 | Stopgaps:
Dependencies: #16879 |
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* status: positive_review => needs_work
Comment:
The messages in the ticket description
{{{
^CException KeyboardInterrupt: KeyboardInterrupt() in
'sage.combinat.designs.orthogonal_arrays_find_recursive.is_available'
ignored
}}}
show that the issue is not just `sig_on()`/`sig_off()` but also missing
`except` clauses in `cdef` functions, see also #16233 for how to fix this.
Also, your codes mixes Cython and Python, so I would go with
[http://www.sagemath.org/doc/developer/coding_in_cython.html#using-sig-
check sig_check()] in the inner loops which is much safer than `sig_on()`
and `sig_off()`.
--
Ticket URL: <http://trac.sagemath.org/ticket/16901#comment:5>
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.