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

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

Branch: CURRENT, Version: 4.6.0, Package name: py27-pexpect-4.6.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: 3d79bb7de5436cd0a8417a6249c765595a33abcf
RMD160: fa9ea28909daa2ccabef03bb831794695b0cb965
Filesize: 145.475 KB

Version history: (Expand)

CVS history: (Expand)

   2018-05-30 09:58:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pexpect: updated to 4.6.0

Version 4.6
The pxssh.login() method now supports an ssh_config parameter, which can be used \ 
to specify a file path to an SSH config file.
Improved compatability for the crlf parameter of PopenSpawn
Fixed an issue in read timeout handling when using spawn and fdspawn with the \ 
use_poll parameter
   2018-04-14 07:20:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pexpect: updated to 4.5.0

Version 4.5
* :class:~.spawn and :class:~.fdspawn now have a use_poll parameter.
  If this is True, they will use :func:select.poll instead of :func:select.select.
  poll() allows file descriptors above 1024, but it must be explicitly
  enabled due to compatibility concerns
* The :meth:.pxssh.login method has several new and changed options:
  * The option password_regex allows changing
    the password prompt regex, for servers that include password: in a banner
    before reaching a prompt
  * :meth:~.pxssh.login now allows for setting up SSH tunnels to be requested once
    logged in to the remote server. This option is ssh_tunnels
    The structure should be like this::
            'local': ['2424:localhost:22'],   # Local SSH tunnels
            'remote': ['2525:localhost:22'],  # Remote SSH tunnels
            'dynamic': [8888],                # Dynamic/SOCKS tunnels
  * The option spawn_local_ssh=False allows subsequent logins from the
    remote session and treats the session as if it was local
  * Setting sync_original_prompt=False will prevent changing the prompt to
    something unique, in case the remote server is sensitive to new lines at login
  * If ssh_key=True is passed, the SSH client forces forwarding the authentication
    agent to the remote server instead of providing a key
   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.