#15367: Empty lists while creating parents
-------------------------------------+-------------------------------------
Reporter: roed | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.13
Component: coercion | Resolution:
Keywords: | Merged in:
Authors: Nils Bruin | Reviewers: Simon King
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/nbruin/ticket/15367 | b8d5a5a2442bfe718424b888a68e44b421ac89d1
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by nbruin):
Reverted to an implementation that uses an eraser class that keeps a weak
reference to dictionary it erases on, rather than a closure for an eraser,
which would keep a strong reference. Rationale: There are some adverse
effects to cyclic reference cycles: For instance, if a GC clean-up has a
side-effect (due to a callback for instance) of making a cycle
unreachable, that cycle will only be picked up during the next GC. Non-
cyclic garbage, on the other hand, would have refcounts hitting 0 and
would get cleaned up immediately. So, if one can easily avoid cycles (and
we can here), then it is better to do so.
--
Ticket URL: <http://trac.sagemath.org/ticket/15367#comment:41>
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.