diff options
-rw-r--r-- | doc/conf.py | 4 | ||||
-rw-r--r-- | doc/history.rst | 9 | ||||
-rw-r--r-- | pexpect/__init__.py | 2 |
3 files changed, 12 insertions, 3 deletions
diff --git a/doc/conf.py b/doc/conf.py index 992c286..f3de534 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -52,9 +52,9 @@ copyright = u'2013, Noah Spurrier and contributors' # built documents. # # The short X.Y version. -version = '4.1' +version = '4.2' # The full version, including alpha/beta/rc tags. -release = '4.1.0' +release = '4.2.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/history.rst b/doc/history.rst index f43afb7..1b3b4ab 100644 --- a/doc/history.rst +++ b/doc/history.rst @@ -4,6 +4,15 @@ History Releases -------- +Version 4.2 +``````````` + +* 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. + Version 4.0 ``````````` diff --git a/pexpect/__init__.py b/pexpect/__init__.py index c737663..045fe36 100644 --- a/pexpect/__init__.py +++ b/pexpect/__init__.py @@ -75,7 +75,7 @@ if sys.platform != 'win32': from .pty_spawn import spawn, spawnu from .run import run, runu -__version__ = '4.1.0' +__version__ = '4.2.0' __revision__ = '' __all__ = ['ExceptionPexpect', 'EOF', 'TIMEOUT', 'spawn', 'spawnu', 'run', 'runu', 'which', 'split_command_line', '__version__', '__revision__'] |