#19132: Start a single process when running Sage
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.9
      Component:  interfaces         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/fix_interrupts_in_jupyter|  
af48d8b6c3c9f9e6de65628ff7fdd77ec89b2fb3
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jdemeyer):

 * status:  needs_review => needs_work
 * upstream:  None of the above - read trac for reasoning. => N/A


Old description:

> Jupyter messes with Sage's interrupt (`SIGINT`) handler, such that code
> like
> {{{
> factor(2^1000 + 1)
> }}}
> cannot be interrupted for example.
>
> Upstream tickets:
> * [https://github.com/ipython/ipykernel/pull/49] (merged upstream)
> * [https://github.com/jupyter/jupyter_client/pull/68] (no feedback yet)

New description:

 Jupyter assumes that it is running a single process. With Sage, this
 assumption is currently not true due to the "front-end" `$SAGE_ROOT/sage`
 script. If we instead use `exec` there, this is no longer a problem.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/19132#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.

Reply via email to