Opened 4 years ago

Last modified 4 years ago

#19411 new defect

hidden but caught infinite loop in action of cartesian products of growth groups

Reported by: dkrenn Owned by:
Priority: minor Milestone: sage-6.10
Component: asymptotic expansions Keywords:
Cc: cheuberg, behackl Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #19083 Stopgaps:

Description

    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.

Change History (3)

comment:1 Changed 4 years ago by dkrenn

  • Summary changed from hidden but caught infinite loop action of cartesian products of growth groups to hidden but caught infinite loop in action of cartesian products of growth groups

comment:2 Changed 4 years ago by dkrenn

  • Dependencies set to #19083

comment:3 Changed 4 years ago by cheuberg

  • Cc cheuberg behackl added
Note: See TracTickets for help on using tickets.