#7366: fix GF(4,'a').list()
--------------------------------+-------------------------------------------
   Reporter:  malb              |       Owner:  AlexGhitza     
       Type:  defect            |      Status:  new            
   Priority:  major             |   Milestone:  sage-4.2.1     
  Component:  basic arithmetic  |    Keywords:                 
Work_issues:                    |      Author:  Martin Albrecht
   Reviewer:                    |      Merged:                 
--------------------------------+-------------------------------------------
 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

 }}}

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