#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 jdemeyer):
Replying to [comment:27 vbraun]:
> 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?
My code makes no assumptions on how `pexpect.spawn` works internally.
Setting `self.closed` would work currently, but it would for example break
with a newer version of `pexpect`.
--
Ticket URL: <http://trac.sagemath.org/ticket/17686#comment:28>
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.