#18739: Wrap PARI functions for converting relative number field elements
-------------------------------------+-------------------------------------
Reporter: pbruin | Owner:
Type: enhancement | Status: needs_work
Priority: minor | Milestone: sage-6.8
Component: interfaces | Resolution:
Keywords: pari | Merged in:
Authors: Peter Bruin | Reviewers: Frédéric Chapoton
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/ticket/18739 | d27251de48beac243d5c3b1d8e6f4b607c375303
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by pbruin):
Replying to [comment:4 jdemeyer]:
> Those functions you are adding should not be part of the public
interface of `gen`, they are unsafe:
> {{{
> sage: pari(0).eltabstorel(0)
> ...
> SignalError: Segmentation fault
> }}}
I can change this, but there are more methods like this:
{{{
sage: pari(0).pr_get_e()
...
SignalError: Segmentation fault
}}}
Maybe we should at some point make a better separation between functions
that are also in GP (and do extra input checking) and PARI library
functions (that crash when given wrong input).
--
Ticket URL: <http://trac.sagemath.org/ticket/18739#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.