summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2015-09-22 14:54:35 +0100
committerThomas Kluyver <takowl@gmail.com>2015-09-22 14:54:35 +0100
commitae480683db601dc162ab2d02643ff84e1c3786be (patch)
tree0c9491e8835760ce600c38f233889473be2a7883 /doc
parenta8e0b19beb06500c5d92597a4a5b4e4e58ecc85b (diff)
downloadpexpect-ae480683db601dc162ab2d02643ff84e1c3786be.tar.gz
Change ignore_sighup default to False
This means child processes will no longer ignore SIGHUP by default. Also pulled out a 'backwards incompatible changes' section of the release notes to make it clearer what has changed. Closes gh-168
Diffstat (limited to 'doc')
-rw-r--r--doc/history.rst17
1 files changed, 12 insertions, 5 deletions
diff --git a/doc/history.rst b/doc/history.rst
index 8ebe458..06e2ef8 100644
--- a/doc/history.rst
+++ b/doc/history.rst
@@ -17,17 +17,24 @@ Version 4.0
* It is now possible to call :meth:`~.wait` multiple times, or after a process
is already determined to be terminated without raising an exception
(:ghpull:`211`).
-* 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.
* 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`).
+Backwards incompatible changes
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+* 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``.
+
Version 3.3
```````````