./devel/py-pexpect, Pure Python Expect-like module

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 4.4.0, Package name: py27-pexpect-4.4.0, Maintainer: minskim

Pexpect makes Python a better glue for controlling child applications.

Pexpect is a pure Python module for spawning child applications;
controlling them; and responding to expected patterns in their
output. Pexpect works like Don Libes' Expect. Pexpect allows your
script to spawn a child application and control it as if a human were
typing commands.

Pexpect can be used for automating interactive applications such as
ssh, ftp, passwd, telnet, etc. It can be used to a automate setup
scripts for duplicating software package installations on different
servers. It can be used for automated software testing. Pexpect is
in the spirit of Don Libes' Expect, but Pexpect is pure Python. The
Pexpect interface was designed to be easy to use.

Required to run:
[lang/python27] [sysutils/py-ptyprocess]

Required to build:

Master sites:

SHA1: cd35c5369a63e8bee0207ed84c2053f1bdd179bd
RMD160: 0befcce3c9e9524e571cf037ffbf2cd50cce11f3
Filesize: 142.465 KB

Version history: (Expand)

CVS history: (Expand)

   2018-02-14 09:09:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pexpect: updated to 4.4.0

Version 4.4
PopenSpawn now has a preexec_fn parameter, like spawn and subprocess.Popen, for \ 
a function to be called in the child process before executing the new command. \ 
Like in Popen, this works only in POSIX, and can cause issues if your \ 
application also uses threads.
Significant performance improvements when processing large amounts of data.
Ensure that spawn.closed gets set by close(), and improve an example for passing \ 
SIGWINCH through to a child process
   2017-12-13 08:36:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pexpect: updated to 4.3.1

Version 4.3.1
* When launching bash for :mod:pexpect.replwrap, load the system bashrc
  from a couple of different common locations, and then unset
  the PROMPT_COMMAND environment variable, which can interfere with the
  prompt we're expecting
   2017-11-10 08:51:58 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pexpect: updated to 4.3.0

Version 4.3
The async= parameter to integrate with asyncio has become async_= \ 
(:ghpull:`431`), as async is becoming a Python keyword from Python 3.6. Pexpect \ 
will still recognise async as an alternative spelling.
Similarly, the module pexpect.async became pexpect._async (:ghpull:`450`). This \ 
module is not part of the public API.
Fix problems with asyncio objects closing file descriptors during garbage \ 
collection (:ghissue:`347`, :ghpull:`376`).
Set the .pid attribute of a :class:`~.PopenSpawn` object (:ghpull:`417`).
Fix passing Windows paths to :class:`~.PopenSpawn` (:ghpull:`446`).
:class:`~.PopenSpawn` on Windows can pass string commands through to Popen \ 
without splitting them into a list (:ghpull:`447`).
Stop shlex trying to read from stdin when :class:`~.PopenSpawn` is passed \ 
cmd=None (:ghissue:`433`, :ghpull:`434`).
Ensure that an error closing a Pexpect spawn object raises a Pexpect error, \ 
rather than a Ptyprocess error (:ghissue:`383`, :ghpull:`386`).
Cleaned up invalid backslash escape sequences in strings (:ghpull:`430`, \ 
The pattern for a password prompt in :mod:`pexpect.pxssh` changed from password \ 
to password: (:ghpull:`452`).
Correct docstring for using unicode with spawn (:ghpull:`395`).
Various other improvements to documentation.
   2017-05-04 12:43:28 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Version 4.2.1
* Fix to allow running ``env`` in replwrap-ed bash.
* Raise more informative exception from pxssh if it fails to connect.
* Change ``passmass`` example to not log passwords entered.
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-01-17 15:50:52 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Update to 3.0.

The new major version number doesn't indicate any deliberate API incompatibility.
We have endeavoured to avoid breaking existing APIs. However, pexpect is under
new maintenance after a long dormancy, so some caution is warranted.

* A new :ref:`unicode API <unicode>` was introduced.
* Python 3 is now supported, using a single codebase.
* Pexpect now requires at least Python 2.6 or 3.2.
* The modules other than pexpect, such as :mod:`pexpect.fdpexpect` and
  :mod:`pexpect.pxssh`, were moved into the pexpect package. For now, wrapper
  modules are installed to the old locations for backwards compatibility (e.g.
  ``import pxssh`` will still work), but these will be removed at some point in
  the future.
* Ignoring ``SIGHUP`` is now optional - thanks to Kimmo Parviainen-Jalanko for
  the patch.
   2014-01-15 21:11:47 by Greg Troxel | Files touched by this commit (2) | Package updated
Log message:
Update to 2.4.

Upstream changelog:

  Fix a bug regarding making the pty the controlling terminal when the
  process spawning it is not, actually, a terminal (such as from cron)

(3.0 is out, but this update is far more clearly safe.)