#11295: FiniteField_givaroElement: make some methods private
----------------------------------+------------------------
       Reporter:  nbruin          |        Owner:  cpernet
           Type:  defect          |       Status:  new
       Priority:  minor           |    Milestone:  sage-6.5
      Component:  finite rings    |   Resolution:
       Keywords:                  |    Merged in:
        Authors:  Jeroen Demeyer  |    Reviewers:
Report Upstream:  N/A             |  Work issues:
         Branch:                  |       Commit:
   Dependencies:                  |     Stopgaps:
----------------------------------+------------------------
Changes (by {'newvalue': u'Jeroen Demeyer', 'oldvalue': ''}):

 * author:   => Jeroen Demeyer
 * component:  documentation => finite rings
 * milestone:  sage-6.4 => sage-6.5
 * owner:  mvngu => cpernet


Old description:

> {{{
> sage: F.<a>=GF(2^2)
> sage: a.log_to_int?
> ...
>        Returns the int representation of self, as a Sage integer.   Use
>        int(self) to directly get a Python int.
> ...
> sage: int(a)
> TypeError: Cannot coerce element to an integer.
> }}}

New description:

 The methods `log_to_int`, `int_repr`, `log_repr` and `poly_repr` should
 probably not be used by user code. Make them private (prepend an
 underscore) and deprecate the non-underscored versions.

--

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