#10295: Upgrading pexpect
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner: was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.10
Component: interfaces | Resolution:
Keywords: pexpect upgrade | Merged in:
Authors: François Bissey, | Reviewers: Jeroen Demeyer
Bill Page, Jeroen Demeyer | Work issues: slowness
Report Upstream: Reported | Commit:
upstream. No feedback yet. | 10623b2318047234dc0f2f4fcaed47d741bffc9a
Branch: | Stopgaps:
u/jdemeyer/pexpect3.3 |
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* status: needs_work => needs_review
Old description:
> We use pexpect version 2.0. Shouldn't we upgrade to the current version
> 4.0.1?
>
> See also #502 and #10294.
>
> '''New upstream tarballs''':
> *
> [https://pypi.python.org/packages/source/p/pexpect/pexpect-4.0.1.tar.gz]
> *
> [https://pypi.python.org/packages/source/p/ptyprocess/ptyprocess-0.5.tar.gz]
>
> '''Upstream patches included''':
> * [https://github.com/pexpect/pexpect/pull/291]
> * [https://github.com/pexpect/pexpect/pull/303]
New description:
We use pexpect version 2.0. Shouldn't we upgrade to the current version
4.0.1?
See also #502 and #10294.
'''New upstream tarballs''':
* [https://pypi.python.org/packages/source/p/pexpect/pexpect-4.0.1.tar.gz]
*
[https://pypi.python.org/packages/source/p/ptyprocess/ptyprocess-0.5.tar.gz]
'''Upstream patches included''':
* [https://github.com/pexpect/pexpect/pull/291]
* [https://github.com/pexpect/pexpect/pull/303]
* [https://github.com/pexpect/pexpect/pull/304]
--
Comment:
Looking better now:
pexpect 2.0:
{{{
sage: %time _ = str(gp("2^2^22"))
CPU times: user 184 ms, sys: 4 ms, total: 188 ms
Wall time: 384 ms
}}}
pexpect 4.0.1 upstream:
{{{
sage: %time _ = str(gp("2^2^22"))
CPU times: user 308 ms, sys: 9 ms, total: 317 ms
Wall time: 571 ms
}}}
pexpect 4.0.1 + Sage patches:
{{{
sage: %time _ = str(gp("2^2^22"))
CPU times: user 26 ms, sys: 2 ms, total: 28 ms
Wall time: 231 ms
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/10295#comment:132>
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.