#10963: More functorial constructions
-------------------------------------+-------------------------------------
Reporter: nthiery | Owner: stumpc5
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.1
Component: categories | Resolution:
Keywords: days54 | Merged in:
Authors: Nicolas M. Thiéry | Reviewers: Simon King, Frédéric
Report Upstream: N/A | Chapoton
Branch: | Work issues:
public/ticket/10963 | Commit:
Dependencies: #11224, #8327, | a410d05b692eead348214b0378dfc78113a3bf5a
#10193, #12895, #14516, #14722, | Stopgaps:
#13589, #14471, #15069, #15094, |
#11688, #13394, #15150 #15506 |
-------------------------------------+-------------------------------------
Comment (by nbruin):
Replying to [comment:165 jdemeyer]:
> On a different machine:
> {{{
> sage -t --long devel/sage/sage/categories/sets_cat.py
> **********************************************************************
> File "devel/sage/sage/categories/sets_cat.py", line 188, in
sage.categories.sets_cat.Sets
> Failed example:
> TestSuite(Sets()).run()
> Expected nothing
> Got:
> Exception RuntimeError: 'maximum recursion depth exceeded while
calling a Python object' in <cyfunction
WeakValueDictionary.__init__.<locals>.callback at 0x26531d0> ignored
> **********************************************************************
> }}}
Circumstantial evidence suggests that this ticket makes these kinds of
events more likely than they were before. While we know a way to avoid the
actual error (and the condition happening is in itself not an error
condition either), it would be good to see exactly what deletion chains
are responsible for this, since those might be indicative of an "almost"
memory leak: I find it hard to conceive of a valid situation where such a
deep chain of weakref callbacks triggering further weakref callbacks would
occur. It shouldn't hold up the merge of this ticket, but it could well be
a worthwhile investigation into whether our data structures are still
sane.
--
Ticket URL: <http://trac.sagemath.org/ticket/10963#comment:194>
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/groups/opt_out.