#10295: Upgrading pexpect
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:  was
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.7
      Component:  interfaces         |   Resolution:
       Keywords:  pexpect upgrade    |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/fbissey/pexpect3.3               |  a24eab3ce985874ab8445ed5e362bbeead76fd40
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Replying to [comment:41 fbissey]:
 > That's interesting if we can do it in a systematic way. I wouldn't mind
 getting rid of most pexpect interface with the exception of the notebook
 (which may be harder).

 I don't mean to stop using pexpect interfaces. I mean replacing parts of
 pexpect itself: the main pexpect code is in one Python class `spawn` and
 we can monkey-patch that by subclassing that and changing methods as we
 please.

 Since pexpect uses some low-level OS stuff, implementing the critical
 parts in Cython might also give significant speed gain (I haven't tested
 this yet, but surely calling `os.foo()` in Python and playing with strings
 will be slower than directly calling the `foo()` system call from Cython).

--
Ticket URL: <http://trac.sagemath.org/ticket/10295#comment:42>
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.

Reply via email to