#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 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
 }}}

 If you really want to add them to `gen`, add an underscore (`_eltabstorel`
 instead of `eltabstorel`) to the method name and add a `WARNING` in the
 documentation that these are unsafe.

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