#9640: Change PARI error catching mechanism
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |       Owner:  was                 
       Type:  enhancement     |      Status:  new                 
   Priority:  major           |   Milestone:  sage-4.6            
  Component:  interfaces      |    Keywords:  pari error interrupt
     Author:  Jeroen Demeyer  |    Upstream:  N/A                 
   Reviewer:                  |      Merged:                      
Work_issues:                  |  
------------------------------+---------------------------------------------
Changes (by jdemeyer):

  * keywords:  => pari error interrupt


Old description:

> Currently, the exceptions thrown by PARI are rather cryptic, like
> {{{
> Traceback (most recent call last):
> ...
> PariError:  (15)
> }}}
>
> Using a mechanism similar to #9636, it should be possible to catch the
> full text of the exception and use it to throw {{{PariError}}}.  We
> should change to using {{{cb_pari_handle_exception()}}} instead of
> {{{err_catch()}}} to catch PARI exceptions.
>
> Dependencies: #9678

New description:

 Currently, the exceptions thrown by PARI are rather cryptic, like
 {{{
 Traceback (most recent call last):
 ...
 PariError:  (15)
 }}}

 Using a mechanism similar to #9636, it should be possible to catch the
 full text of the exception and use it to throw {{{PariError}}}.  We should
 change to using {{{cb_pari_handle_exception()}}} instead of
 {{{err_catch()}}} to catch PARI exceptions.

 Dependencies: #10115, #9893, #9678

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9640#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to