summaryrefslogtreecommitdiff
path: root/pexpect/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixesVille Skyttä2020-05-091-1/+1
|
* Update version # for new releasedluyer2020-01-161-1/+1
|
* Update version number, docs and release history due to #528, #562 and #563.Red_M2019-03-241-1/+1
|
* Version number -> 4.64.6Thomas Kluyver2018-05-291-1/+1
|
* Allow for configurable select.poll() usageCooper Ry Lees2018-03-231-1/+1
| | | | | | | - This allows systems that can have > 1024 fds to work - Should be marginally faster - Added tests to use select.poll() - Incremented version - Happy to change this, guessed what it should be
* Version number -> 4.4.0Thomas Kluyver2018-02-101-1/+1
|
* Version number -> 4.3.14.3.1Thomas Kluyver2017-12-121-1/+1
|
* Version number -> 4.34.3Thomas Kluyver2017-11-091-1/+1
|
* Prepare to release 4.2.14.2.1Thomas Kluyver2016-08-211-1/+1
|
* Prepare for 4.2.0 release for spawn_env_path changeJeff Quast2016-06-061-1/+1
|
* Version number -> 4.1.04.1.0Thomas Kluyver2016-05-211-1/+1
|
* Version number back to 4.1.devThomas Kluyver2015-10-061-1/+1
|
* Version number -> 4.0.14.0.1Thomas Kluyver2015-10-061-1/+1
|
* Version number -> 4.1.devThomas Kluyver2015-10-051-1/+1
|
* Version number -> 4.04.0Thomas Kluyver2015-10-051-1/+1
|
* Make Pexpect importable on WindowsThomas Kluyver2015-10-031-153/+7
|
* Merge pull request #182 from takluyver/reintegrate-unicodeThomas Kluyver2015-09-091-20/+16
|\ | | | | 'Unicode mode' in spawn class
| * Fix deprecated runu functionThomas Kluyver2015-02-271-1/+2
| |
| * Deprecate runu functionThomas Kluyver2015-02-261-20/+15
| |
* | Document that a method may also be used.Jeff Quast2015-02-141-2/+2
| |
* | Display well-formed TypeError for events callbackJeff Quast2015-02-141-1/+3
| |
* | PEP8: do not use backslash continuation char '\'Jeff Quast2015-02-141-2/+2
| | | | | | | | "Continuation lines should align ... using Python's implicit line joining inside parentheses"
* | Begin __version__ "4.0.dev"Jeff Quast2015-02-141-1/+1
| | | | | | | | as suggested by @takluyver in https://github.com/pexpect/pexpect/issues/174
* | Updated Error message to mention MethodTypeSamuel Bancal2015-02-121-1/+1
| |
* | Allows also method callback for events argument in pexpect.run()Samuel Bancal2015-02-121-1/+2
|/ | | | Updated test_run.py for this case
* Merge remote-tracking branch 'origin/master' into issue-104-cannot-exec-setuidsJeff Quast2014-12-181-1883/+8
|\ | | | | | | | | Conflicts: pexpect/__init__.py
| * Change run* timeout=-1 -> timeout=30Jeff Quast2014-11-241-2/+2
| | | | | | | | | | | | Leave the "if timeout == -1" in spawn intact, for any poor fool who explicitly set timeout of -1 to implicitly mean timeout of 30.
| * Move code out of __init__Thomas Kluyver2014-11-231-1649/+6
| |
| * Remove some long-dead codeThomas Kluyver2014-11-231-9/+0
| |
| * Delegate more methods to ptyprocessThomas Kluyver2014-11-231-120/+40
| |
| * Start adapting pexpect to use ptyprocessThomas Kluyver2014-11-231-176/+18
| |
* | Merge remote-tracking branch 'origin/master' into issue-104-cannot-exec-setuidsJeff Quast2014-11-231-95/+87
|\ \ | |/ | | | | | | Conflicts: doc/history.rst
| * Merge pull request #142 from pexpect/failed-str-selfJeff Quast2014-11-221-2/+4
| |\ | | | | | | Failure in __str__() before any output.
| | * Use ternary if/else in spawn.__str__Jeff Quast2014-11-221-2/+2
| | |
| | * Failure in __str__() before any output.Jeff Quast2014-11-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | When calling str() on a spawn class object before it has any command output, the __str__() override attempts to truncate long command output while the value of self.before is still None, raising: TypeError: 'NoneType' object has no attribute '__getitem__'
| * | Rectify docstring typo in compile_pattern_list()Rick Lin2014-11-201-1/+1
| |/
| * Modify run() to allow a tuple list of events.Hideaki Suzuki2014-10-111-10/+24
| | | | | | | | This is a feature enhancement mentioned by #116.
| * Document asyncio integrationThomas Kluyver2014-09-211-3/+21
| |
| * Expose async parameter for expect_exactThomas Kluyver2014-09-211-7/+14
| |
| * support timeout in async expectThomas Kluyver2014-09-211-1/+3
| |
| * Expose async as parameter for expectThomas Kluyver2014-09-211-4/+8
| |
| * Refactor expect codeThomas Kluyver2014-09-211-70/+10
| |
| * Closes issue #86 and issue #100jquast2014-08-241-3/+8
| | | | | | | | | | | | Fallback to using stdout, and, when both stdin and stdout are *both* closed, catch ValueError and use the same constants as when the attached process is not a terminal.
* | Closes issue #104 -- cannot execute sudo(8)jquast2014-08-241-32/+16
|/ | | | | | | | | | | | | | | | | | | | | Previously, misinterpreted that os.access(file, X_OK) always returns True on Solaris. Yes, but only for the uid of 0. Python issue #13706 closed "not a bug" reads to "just use os.stat()", so we went to great lengths to do so quite exhaustively. But this is wrong -- *only* when root, should we check the file modes -- os.access of X_OK works perfectly fine for non-root users. And, we should only check if any of the executable bits are set. Alas, it is true, you may execute that which you may not read -- because as root, you can always read it anyway. Verified similar solution in NetBSD test.c (/bin/test), OpenBSD ksh for its built-in test, and what FreeBSD/Darwin for their implementation of which.c.
* update documentation string in pexpect/__init__.py to be compatible with ↵Chiu Yue Chun2014-08-081-2/+10
| | | | python 2 and 3
* Bump version number to 3.33.3Thomas Kluyver2014-06-251-1/+1
|
* Merge branch 'issue-44-solaris-try-3' of github.com:pexpect/pexpect into ↵Jeff Quast2014-06-241-2/+2
|\ | | | | | | issue-44-solaris-try-3
| * Fix up except syntax againThomas Kluyver2014-06-241-2/+2
| |
* | Provide example of SRV4-like systemsJeff Quast2014-06-241-3/+4
|/
* Refactor exceptions in __pty_make_controlling_ttyJeff Quast2014-06-241-39/+17
| | | | | | | | | | | Make very clear which exceptions we expect, where, and why. I've done exaustive testing from within cron(1) and without. I've been unable to reproduce the previously discovered os.ttyname issue, so that exception handling loop has been removed. Also, resolves the ENXIO reference (thanks TK!). Pushing to test this on OSX and later cygwin with the non_native pty fork test