summaryrefslogtreecommitdiff
path: root/pexpect/spawnbase.py
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixesVille Skyttä2020-05-091-1/+1
|
* Update spawnbase.pydluyer2019-08-021-0/+3
|
* typoJohannes Becker2018-04-011-1/+1
|
* optimize pty buffering and searchingRyan Petrello2018-02-051-2/+16
| | | | | | | | Python strings are slow and expensive as buffers because they're immutable; replace the output buffer with a StringIO/BytesIO object see: https://github.com/pexpect/pexpect/issues/438
* FIX: rename async.py -> _async.py to avoid syntax errors in 3.7Thomas A Caswell2017-10-211-3/+3
| | | | | async has moved to a proper keyword resulting in syntax errors on import.
* Spelling fixesVille Skyttä2017-09-151-1/+1
|
* Rename async= parameter to async_=Thomas Kluyver2017-07-191-10/+22
| | | | Closes gh-315
* dont remove reference to _UnixReadPipeTransportAleksandr Balezin2016-09-071-0/+2
| | | | | _UnixReadPipeTransport class closes pipe in __del__ method. This commit adds attribute to SpawnBase with pointer to current transport.
* Clarify commentsJeroen Demeyer2016-01-051-4/+6
|
* Add new spawn.delayafterread attribute.Jeff Quast2016-01-051-0/+4
|
* Merge pull request #253 from pexpect/docs-revision-2Thomas Kluyver2015-09-221-4/+6
|\ | | | | docstring about timeout behavior
| * expect() clarifies timeout value behaviorJeff Quast2015-09-201-1/+4
| |
| * remove docstring about timeout=-1 in expect_listJeff Quast2015-09-201-3/+2
| |
* | Merge pull request #251 from pexpect/docs-revision-3Thomas Kluyver2015-09-221-0/+3
|\ \ | | | | | | Improve docstrings about searchwindowsize value
| * | Improve docstrings about searchwindowsize valueJeff Quast2015-09-201-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | In class initializer: - introduce its default value and its relationship to the *maxread* keyword argument. - reduce explanation search cost relationship in expect method: - document its similar re-use of class attribute and keyword argument 'searchwindowsize' when the value of -1 is used.
* | Clarify ducked-typed return value of expect() callJeff Quast2015-09-201-6/+8
|/ | | | | | | | | | | | | | This directly addresses issue #77. Rephrase first three sentences about the meaning of after and before. Instead, immediately address the availability of the match attribute and its possible value types. Instead of 'If an error occured' phrase, use 'On general exception' to better clarify the onerror() method behavior described here before re-raising in general 'except:' clause.
* Integrate unicode API into spawn, rather than subclassingThomas Kluyver2015-02-261-64/+61
|
* Allow spawn() and friends to be used as context managersThomas Kluyver2014-12-191-0/+9
| | | | Closes gh-111
* Not all spawn classes have a kill methodThomas Kluyver2014-11-231-4/+0
|
* Delegate sending control characters to ptyprocessThomas Kluyver2014-11-231-6/+0
|
* Refactor, creating SpawnBaseUnicode classThomas Kluyver2014-11-231-2/+38
|
* Refactor, creating SpawnBase classThomas Kluyver2014-11-231-0/+449