#19411: hidden but caught infinite loop action of cartesian products of growth
groups
-------------------------------------+-----------------------------
   Reporter:  dkrenn                 |            Owner:
       Type:  defect                 |           Status:  new
   Priority:  minor                  |        Milestone:  sage-6.10
  Component:  asymptotic expansions  |         Keywords:
  Merged in:                         |          Authors:
  Reviewers:                         |  Report Upstream:  N/A
Work issues:                         |           Branch:
     Commit:                         |     Dependencies:
   Stopgaps:                         |
-------------------------------------+-----------------------------
 {{{
     sage: from sage.rings.asymptotic.growth_group import GrowthGroup
     sage: A = GrowthGroup('QQ^x * x^ZZ'); A
     sage: cm = sage.structure.element.get_coercion_model()
     sage: E = GrowthGroup('ZZ^x * x^QQ')
     sage: cm.record_exceptions()
     sage: cm.common_parent(A, E)
     Growth Group QQ^x * x^QQ
     sage: for t in cm.exception_stack():
     ....:     print t
 }}}
 brings up
 {{{
     Traceback (most recent call last):
     ...
     CoercionException: Infinite loop in action of Growth Group QQ^x * x^QQ
 (parent <class
 
'sage.rings.asymptotic.growth_group_cartesian.UnivariateProduct_with_category'>)
 and Growth Group ZZ^x * x^QQ (parent <class
 
'sage.rings.asymptotic.growth_group_cartesian.UnivariateProduct_with_category'>)!
 }}}
 It is caught, so it does not make a problem at all, but IMHO shouldn't be
 there.

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