#18157: Random failure in coerce_action.pyx
-------------------------------+------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.6
Component: coercion | Resolution:
Keywords: random_fail | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------+------------------------
Description changed by vdelecroix:
Old description:
> Zmod(6) can be collected at the wrong time
> {{{
> sage -t --long --warn-long 47.9 src/sage/structure/coerce_actions.pyx
> **********************************************************************
> File "src/sage/structure/coerce_actions.pyx", line 78, in
> sage.structure.coerce_actions.LAction
> Failed example:
> sage.structure.coerce_actions.GenericAction(QQ, Zmod(6), True,
> check=False)
> Expected:
> Left action by Rational Field on Ring of integers modulo 6
> Got:
> <repr(<sage.structure.coerce_actions.GenericAction at
> 0x7f8650aca938>) failed: RuntimeError: This action acted on a set that
> became garbage collected>
> **********************************************************************
> 1 item had failures:
> 1 of 4 in sage.structure.coerce_actions.LAction
> [100 tests, 1 failure, 0.82 s]
> }}}
New description:
Zmod(6) can be collected at the wrong time
{{{
sage -t --long --warn-long 47.9 src/sage/structure/coerce_actions.pyx
**********************************************************************
File "src/sage/structure/coerce_actions.pyx", line 78, in
sage.structure.coerce_actions.LAction
Failed example:
sage.structure.coerce_actions.GenericAction(QQ, Zmod(6), True,
check=False)
Expected:
Left action by Rational Field on Ring of integers modulo 6
Got:
<repr(<sage.structure.coerce_actions.GenericAction at 0x7f8650aca938>)
failed: RuntimeError: This action acted on a set that became garbage
collected>
**********************************************************************
1 item had failures:
1 of 4 in sage.structure.coerce_actions.LAction
[100 tests, 1 failure, 0.82 s]
}}}
Idem with
{{{
sage -t --long src/sage/structure/coerce.pyx
**********************************************************************
File "src/sage/structure/coerce.pyx", line 1452, in
sage.structure.coerce.CoercionModel_cache_maps.discover_action
Failed example:
cm.discover_action(GF(5)['x'], ZZ, operator.div)
Expected:
Right inverse action by Finite Field of size 5 on Univariate
Polynomial Ring in x over Finite Field of size 5
with precomposition on right by Natural morphism:
From: Integer Ring
To: Finite Field of size 5
Got:
<repr(<sage.categories.action.PrecomposedAction at 0x2b41eb2a2050>)
failed: RuntimeError: This action acted on a set that became garbage
collected>
**********************************************************************
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/18157#comment:2>
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.