forked from pool/python-pexpect
Accepting request 428046 from home:TheBlackCat:branches:devel:languages:python
update to version 4.2.1 OBS-URL: https://build.opensuse.org/request/show/428046 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=21
This commit is contained in:
@@ -1,3 +1,51 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 15 22:52:06 UTC 2016 - toddrme2178@gmail.com
|
||||
|
||||
- update to 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.
|
||||
- update to version 4.2.0:
|
||||
* Change: When an "env" parameter is specified to the
|
||||
:class:`~.spawn` or :class:`~.run` family of calls containing a
|
||||
value for "PATH", its value is used to discover the target
|
||||
executable from a relative path, rather than the current process's
|
||||
environment "PATH". This mirrors the behavior of
|
||||
:func:`subprocess.Popen` in the standard library (:ghissue:`348`).
|
||||
* Regression: Re-introduce capability for :meth:`read_nonblocking`
|
||||
in class :class:`fdspawn` as previously supported in version 3.3
|
||||
(:ghissue:`359`).
|
||||
- update to version 4.1.0:
|
||||
* No upstream changelog
|
||||
- update to version 4.0.1:
|
||||
* Integration with :mod:`asyncio`: passing "async=True" to :meth:`~.spawn.expect`,
|
||||
:meth:`~.spawn.expect_exact` or :meth:`~.spawn.expect_list` will make them return a
|
||||
coroutine. You can get the result using "yield from", or wrap it in an
|
||||
:class:`asyncio.Task`. This allows the event loop to do other things while
|
||||
waiting for output that matches a pattern.
|
||||
* Experimental support for Windows (with some caveats)—see :ref:`windows`.
|
||||
* Enhancement: allow method as callbacks of argument "events" for
|
||||
:func:`pexpect.run` (:ghissue:`176`).
|
||||
* It is now possible to call :meth:`~.spawn.wait` multiple times, or after a process
|
||||
is already determined to be terminated without raising an exception
|
||||
(:ghpull:`211`).
|
||||
* New :class:`pexpect.spawn` keyword argument, "dimensions=(rows, columns)"
|
||||
allows setting terminal screen dimensions before launching a program
|
||||
(:ghissue:`122`).
|
||||
* Fix regression that prevented executable, but unreadable files from
|
||||
being found when not specified by absolute path -- such as
|
||||
/usr/bin/sudo (:ghissue:`104`).
|
||||
* Fixed regression when executing pexpect with some prior releases of
|
||||
the multiprocessing module where stdin has been closed (:ghissue:`86`).
|
||||
* Deprecated "pexpect.screen" and "pexpect.ANSI". Please use other packages
|
||||
such as `pyte <https://pypi.python.org/pypi/pyte>`__ to emulate a terminal.
|
||||
* Removed the independent top-level modules ("pxssh fdpexpect FSM screen ANSI")
|
||||
which were installed alongside Pexpect. These were moved into the Pexpect
|
||||
package in 3.0, but the old names were left as aliases.
|
||||
* Child processes created by Pexpect no longer ignore SIGHUP by default: the
|
||||
"ignore_sighup" parameter of :class:`pexpect.spawn` defaults to False. To
|
||||
get the old behaviour, pass "ignore_sighup=True".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 27 14:24:59 UTC 2015 - tbechtold@suse.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user