#3933: Set iteration is broken over sets created with iterators
--------------------+-------------------------------------------------------
 Reporter:  anakha  |        Owner:  cwitty    
     Type:  defect  |       Status:  new       
 Priority:  major   |    Milestone:  sage-3.4.1
Component:  misc    |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by rlm):

 amusingly:

 {{{
 sage: list(Set(iter([1, 2, 3, 4, 5])))
 []
 sage: list(Set(set(iter([1, 2, 3, 4, 5]))))
 [1, 2, 3, 4, 5]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3933#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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