#17686: pexpect interfaces are never deleted
-------------------------------------+-------------------------------------
Reporter: alexc | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.6
Component: interfaces | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/17686 | 08e422aaabf904356b4d53e68cf30f033a57585e
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vbraun):
The original spawn class checks `self.closed` in the dtor:
{{{
def __del__(self):
if self.closed:
return
try:
self.close()
except:
pass
}}}
So why not just set that flag in `_keep_alive`? Or is there another
resource managed by an attribute with a non-trivial dtor? This seems
better than keeping the spawn instance alive forever... maybe I'm missing
something?
--
Ticket URL: <http://trac.sagemath.org/ticket/17686#comment:27>
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.