#7366: fix GF(4,'a').list()
--------------------------------+-------------------------------------------
   Reporter:  malb              |       Owner:  AlexGhitza     
       Type:  defect            |      Status:  positive_review
   Priority:  major             |   Milestone:  sage-4.2.1     
  Component:  basic arithmetic  |    Keywords:                 
Work_issues:                    |      Author:  Martin Albrecht
   Reviewer:  Rob Beezer        |      Merged:                 
--------------------------------+-------------------------------------------
Changes (by rbeezer):

  * status:  needs_review => positive_review
  * reviewer:  => Rob Beezer


Old description:

> This should work:
>
> {{{#!python
> sage: K.<a>=GF(4)
> sage: [x for x in K]
> [0, a, a + 1, 1]
> sage: hasattr(K, '__iter__')
> True
> sage: K.list()
> ...
> TypeError:
> 'sage.rings.finite_field_givaro.FiniteField_givaro_iterator' object is
> not iterable
>
> }}}

New description:

 This should work:

 {{{
 sage: K.<a>=GF(4)
 sage: [x for x in K]
 [0, a, a + 1, 1]
 sage: hasattr(K, '__iter__')
 True
 sage: K.list()
 ...
 TypeError:
 'sage.rings.finite_field_givaro.FiniteField_givaro_iterator' object is not
 iterable

 }}}

--

Comment:

 Builds on 4.2, fixes the problem, passes all tests.

 Positive review.

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