Pexpect

Latest version: v4.9.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

4.9

* Add support for Python 3.12 769.
* Clean up temporary files after UnicodeTests 753.
* Add Python 3.5, 3.6 and 3.12.0-rc.1 to test matrix 763.
* Set prompt correctly for zsh 712.
* Add zsh convenience function to replwrap module 751.
* Rework async unittests to rely on unittest.IsolatedAsyncioTestCase 764.
* Make test_expect.py work on POSIX systems that are not Linux based 698.
* Add support for ``socket``, which allows sockets to be used crossplatform 745.
* Update async to work on newer versions of python 732.
* Remove deprecated RSAAuthentication option (SSHv1) 744.
* Multiple CI fixes 743 737 742 739 722.
* Use Github Actions for CI 734.
* Remove pytest-capturelog from testing requirements 730.
* Fix usage for Solaris 663 604 560.
* Fix threading for new versions of python 684.
* Fix documentation builds for use with Sphinx 3 638.
* Use ``sys.executable`` for tests and wrapper, allowing the calling python executable to be used instead 623.
* Update documentation about Wexpect 623.
* Added project urls to ``setup.py`` 620.
* Provide examples for how to use Pexpect and Pyte 587.
* Coerce compiled regex patterns type according to spawn encoding 560.
* Several doc updates 626 635 643 644 728.

4.8.0

* Returned behavior of searchwindowsize to that in 4.3 and earlier (searches are only done within the search window) (579).
* Fixed a bug truncating ``before`` attribute after a timeout (579).
* Fixed a bug where a search could be less than ``searchwindowsize`` if it was increased between calls (579).
* Minor test cleanups to improve portability (580) (581) (582) (583) (584) (585).
* Disable chaining of timeout and EOF exceptions (606).
* Allow traceback included snippet length to be configured via ``str_last_chars`` rather than always 100 (598).
* Python 3 warning added to interact.py (537).
* Several doc updates.

4.7.0

4.2

- Change: When an `env` parameter is specified to the `spawn()` or
`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
`subprocess.Popen` in the standard library (PR 348).
- Regression: Re-introduce capability for method `read_nonblocking()` in class
`fdspawn` as previously supported in version 3.3 (PR 359).

3.2

- Fix exception handling from select.select() on Python 2 (PR 38). This was accidentally broken in the previous release when it was fixed for Python 3.
- Removed a workaround for TIOCSWINSZ on very old systems, which was causing issues on some BSD systems (PR 40).
- Fixed an issue with exception handling in pxssh (PR 43)

The documentation for pxssh was improved.

3.1

- Fix an issue that prevented importing pexpect on Python 3 when sys.stdout was reassigned (30).
- Improve prompt synchronisation in pxssh (PR 28).
- Fix pickling exception instances (PR 34).
- Fix handling exceptions from select.select() on Python 3 (PR 33).

The examples have also been cleaned up somewhat - this will continue in future releases.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.