Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Spelling fixes | Ville Skyttä | 2020-05-09 | 2 | -2/+2 |
| | |||||
* | fix run's docstring. | Benedek Racz | 2020-04-07 | 1 | -1/+1 |
| | | | The example code was not shown as code. | ||||
* | Do not directly call python and use sys.executable | Tomáš Chvátal | 2020-03-12 | 1 | -1/+1 |
| | | | | | This makes sure the tests and wrapper works on systems where there is no python2 nor /usr/bin/python available | ||||
* | Update version # for new release | dluyer | 2020-01-16 | 1 | -1/+1 |
| | |||||
* | Accumulate async data correctly after future done | dluyer | 2020-01-15 | 1 | -0/+1 |
| | |||||
* | Avoid calling getvalue() twice in a row | dluyer | 2020-01-14 | 1 | -1/+1 |
| | |||||
* | Undo incorrect formatting update | dluyer | 2020-01-14 | 1 | -1/+1 |
| | |||||
* | Whitespace cleanup. | dluyer | 2020-01-10 | 1 | -2/+2 |
| | |||||
* | Whitespace cleanup | dluyer | 2020-01-10 | 1 | -1/+1 |
| | |||||
* | Whitespace cleanup | dluyer | 2020-01-10 | 1 | -2/+2 |
| | |||||
* | Updated expect_loop for split new_data | dluyer | 2020-01-09 | 1 | -5/+7 |
| | |||||
* | Split new_data initial and subsequent calls | dluyer | 2020-01-09 | 1 | -53/+59 |
| | | | expect_{loop,async} call new_data at start, when there isn't really new data. Reviewer requested a split of functionality here into two routines. | ||||
* | Update _async.py | dluyer | 2020-01-09 | 1 | -4/+1 |
| | |||||
* | Merge pull request #5 from dluyer/master | dluyer | 2020-01-09 | 2 | -5/+12 |
|\ | | | | | Merge from master | ||||
| * | Disable chaining Timeout and EOF exceptions | Martin Di Paola | 2019-12-09 | 1 | -2/+8 |
| | | | | | | | | | | | | The code works in Python 2.x and 3.x but it should be replaced by "raise exception from other-exception" when the support for Python 2.x gets dropped. | ||||
| * | Fix last commit. | Red_M | 2019-10-31 | 1 | -2/+2 |
| | | |||||
| * | Add character read back value to allow for tracebacks to contain more data ↵ | Red_M | 2019-10-30 | 1 | -3/+4 |
| | | | | | | | | about why an error occurred. | ||||
* | | Updates from internal code review. | dluyer | 2019-08-02 | 1 | -2/+7 |
| | | |||||
* | | Update expect.py | dluyer | 2019-08-02 | 1 | -2/+2 |
| | | |||||
* | | Update expect.py | dluyer | 2019-08-02 | 1 | -4/+0 |
| | | |||||
* | | Update expect.py | dluyer | 2019-08-02 | 1 | -2/+2 |
| | | |||||
* | | Update expect.py | dluyer | 2019-08-02 | 1 | -17/+63 |
| | | |||||
* | | Update spawnbase.py | dluyer | 2019-08-02 | 1 | -0/+3 |
| | | |||||
* | | Fix missing data in 'before', especially after timeouts | dluyer | 2019-08-01 | 1 | -6/+10 |
|/ | | | | | | | | | | | | - Fix 'before' return on eof/timeout/error. - Fix behavior when searchwindowsize is increased between calls to expect_loop (existing code could discard required content). Note, this is less efficient, but it is correct. The prior changes improved benchmarks but broke correctness; I haven't benchmarked to see if this is better or worse than the original code, before buffer_type use was introduced. It would be possible to make this more efficient with further complexity. Breakage introduced: https://github.com/pexpect/pexpect/commit/fd7332f59e003a8ee658647f883d4b03018c5e5b#diff-244f4b51bfbbbcb072d1428a79b9f4f7 Prior partial fix: https://github.com/pexpect/pexpect/commit/5a2e63f3fbfb39458c832a65bf8db330e954b8f6#diff-244f4b51bfbbbcb072d1428a79b9f4f7 | ||||
* | Merge pull request #537 from giovanism/patch-1 | Thomas Kluyver | 2019-05-16 | 1 | -5/+9 |
|\ | | | | | interact: Add Python 3 compatibility warning | ||||
| * | interact: Add Python 3 compatibility warning | Giovan Isa Musthofa | 2019-04-16 | 1 | -5/+9 |
| | | | | | | | | Close https://github.com/pexpect/pexpect/issues/517 | ||||
* | | Update version number, docs and release history due to #528, #562 and #563. | Red_M | 2019-03-24 | 2 | -17/+16 |
| | | |||||
* | | Merge branch 'master' of https://github.com/pexpect/pexpect into patch-1 | Tom Gillespie | 2019-03-23 | 1 | -1/+5 |
|\ \ | |||||
| * \ | Merge pull request #528 from tschmid/pxssh_customization | Red_M | 2019-03-23 | 1 | -2/+6 |
| |\ \ | | | | | | | | | Allow customized pxssh client | ||||
| | * | | Allow customized pxssh client | Thomas Schmid | 2018-09-05 | 1 | -2/+6 |
| | |/ | | | | | | | | | | This can be very useful if you want to run the pxssh client in a network namespace. | ||||
* | | | pxssh.login require either username or ssh_config | Tom Gillespie | 2019-03-23 | 1 | -2/+37 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If pxssh.login is called with an ssh_config then do not require username since it can be supplied via the config and some programs do not want to manage the username at all since it would require parsing the ssh config. This commit removes the independent username parameter when formatting cmd and instead appends the flag and the username to ssh_options if a username is provided. If neither username nor ssh_config is provided raise a TypeError in line with the error raised natively if username was not provided as a required positional argument. Tests ensure that ssh_config lists a username for the server in question so the user running the program does not leak. Note that ssh_config keywords are case-insensitive. This commit by itself fails tests because it has been modified to simplifiy the merge commit. | ||||
* | | add use_poll to pxssh | Gerardo Poggio | 2018-10-26 | 1 | -2/+2 |
|/ | |||||
* | Use builtin enumerate method in searcher_re | Mark McClain | 2018-08-29 | 1 | -1/+1 |
| | |||||
* | Merge pull request #304 from jdemeyer/read_more_bytes | Thomas Kluyver | 2018-08-18 | 1 | -40/+62 |
|\ | | | | | Read more bytes | ||||
| * | Read more bytes in read_nonblocking() | Jeroen Demeyer | 2018-06-29 | 1 | -40/+62 |
| | | |||||
* | | replwrap: add async support | Robin Jarry | 2018-06-19 | 2 | -7/+33 |
|/ | | | | | | | | Add an 'async_' argument to run_command. When True, a coroutine will be returned which *must* be awaited in asynchronous code. Signed-off-by: Robin Jarry <robin.jarry@6wind.com> Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com> | ||||
* | Bug fix as per #498. | Red_M | 2018-06-10 | 1 | -1/+1 |
| | |||||
* | Version number -> 4.64.6 | Thomas Kluyver | 2018-05-29 | 1 | -1/+1 |
| | |||||
* | Merge pull request #490 from Red-M/master | Thomas Kluyver | 2018-05-29 | 1 | -7/+15 |
|\ | | | | | Update docs and add SSH config file passing | ||||
| * | Grammar fix for docs as per #490. | Red_M | 2018-05-29 | 1 | -2/+2 |
| | | |||||
| * | Fix as per #490 comments. | Red_M | 2018-05-29 | 1 | -12/+6 |
| | | |||||
| * | Woops. | Red_M | 2018-05-20 | 1 | -7/+6 |
| | | |||||
| * | Add test cases for #429 and fix feature for #429. | Red_M | 2018-05-20 | 1 | -1/+1 |
| | | |||||
| * | Minor doc update. | Red_M | 2018-05-20 | 1 | -1/+1 |
| | | |||||
| * | Add docstring for SSH config as per #429. | Red_M | 2018-05-20 | 1 | -2/+7 |
| | | |||||
| * | Add SSH configs as per #429. | Red_M | 2018-05-20 | 1 | -1/+9 |
| | | |||||
| * | Update doc string as per #489. | Red_M | 2018-05-20 | 1 | -1/+3 |
| | | |||||
* | | Merge pull request #492 from ryanpetrello/fix-poll-timeouts | Thomas Kluyver | 2018-05-24 | 1 | -1/+1 |
|\ \ | | | | | | | properly handle read timeouts with use_poll=True | ||||
| * | | properly handle read timeouts with use_poll=True | Ryan Petrello | 2018-05-21 | 1 | -1/+1 |
| |/ | | | | | | | see: https://github.com/pexpect/pexpect/issues/491 | ||||
* | | Make `crlf` match the default platform behaviour in `PopenSpawn`. Fixes #488 | Jerome M. BERGER | 2018-05-22 | 1 | -5/+12 |
|/ |