#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 |
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:8 vdelecroix]:
> By the way, I got something very strange here.
`find_recursive_construction` is a cached function (with the decorator in
`sage.misc.cachefunc`). It appears that after some of the interruption,
the `CachedFunction` class suddenly decided that the function now takes 3
arguments instead of 2... and trying to call it with 3 values instead of 2
I just got an unhandled SIGSEGV.
>
> Might be something subtle going on with exception and cache but I do not
know why. I can describe the case in more details.
Personally, I would not bother too much with this. Interrupting Python (as
opposed to Cython) code can give all kinds of undefined behaviour...
--
Ticket URL: <http://trac.sagemath.org/ticket/16901#comment:9>
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.