#11139: Ideal with no generators for univariate polynomial rings
-----------------------------------+----------------------------------------
   Reporter:  mraum                |          Owner:  malb                      
 
       Type:  defect               |         Status:  needs_info                
 
   Priority:  blocker              |      Milestone:  sage-4.7                  
 
  Component:  commutative algebra  |       Keywords:                            
 
Work_issues:                       |       Upstream:  N/A                       
 
   Reviewer:  John Palmieri        |         Author:  Martin Raum, Jeroen 
Demeyer
     Merged:                       |   Dependencies:                            
 
-----------------------------------+----------------------------------------
Changes (by mraum):

  * status:  needs_review => needs_info


Comment:

 I think that indeed the logic is much better. Though it might be confusing
 to beginners. But this improvement brings my attention to a problem, that
 has been there before:
 {{{
 R.<x> = QQ[]
 R.ideal((x for _ in range(2)))
 }}}

 This is an instance of GeneratorType, that is called with len.  So either
 we exclude the GeneratorType (no change to the situtation before) or
 correct it.  Also, mind that a ring element might be an instance of
 GeneratorType.  In that (very exceptional) situation, the new logic would
 cause trouble.

 Any experience with similar code at other places in Sage?

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