#14894: Fix PARI error handling (needed for future upgrade to PARI 2.6)
--------------------------------------+------------------------------
Reporter: vbraun | Owner: jdemeyer
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.12
Component: packages: standard | Resolution:
Keywords: pari error signal | Merged in:
Authors: Peter Bruin | Reviewers: Jeroen Demeyer
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #12142, #14873 | Stopgaps:
--------------------------------------+------------------------------
Comment (by pbruin):
Replying to [comment:36 jdemeyer]:
> In any case, is this urgent at all? I think it makes more sense to do
this as part of the upgrade to PARI-2.6, because PARI-2.6 does change the
error handling mechanism quite a bit.
The current implementation has its problems (see the ticket description),
but I know of nothing that is broken in practice. Whether to do it now or
during the upgrade depends on which solution is chosen.
- Option 1: use the try/catch macros provided by PARI. This we can do
now, and it will make the upgrade easier, since similar macros are
provided in 2.6 (albeit with slightly different names and a different
implementation).
- Option 2: keep using undocumented PARI functions/variables. This can
only be done at the same time as the upgrade, since the internals have
changed a lot in 2.6.
Option 1 is what the current patch does, and I still prefer this option.
--
Ticket URL: <http://trac.sagemath.org/ticket/14894#comment:37>
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/groups/opt_out.