| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | display expected prompt as PROMPT, not PROMPT_SET_SHissue-42-cannot-implicit-bytes-to-str | jquast | 2014-03-07 | 1 | -1/+1 |
| | | | | | completes issue #44; thanks to @takluyver for keen eye. | ||||
| * | closes issue #42, self.buffer decoded implicitly | jquast | 2014-03-06 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | create a unit tests which otherwise failed for python3 only: mock the return value of set_unique_prompt for a value of False, which causes ExceptionPxssh to raise. previously, displaying self.buffer within the exception causes bytes() to be implicitly decoded to str (unicode type in py3). python2 didn't care. it is implicitly decoded as 'ascii' encoding, without warning. Then, use the %r to represent it as b'xyz' in python3. Also, display what we expected to be more helpful for the user. What is actually happening here is the 'set PS1=' command is used so that pexpect can more regularly understand when the prompt is awaiting command input, and it is set to something more predictable. You'd be suprised what kind of hackery can happen to prompt values even if PS1 is explicitly set, especially in today's oh-my-zhs and git-prompt.sh extensions. | ||||
| * | Remove workaround for bug affecting very old platforms | Ed Maste | 2014-02-13 | 1 | -11/+4 |
| | | | | | https://github.com/pexpect/pexpect/issues/39 | ||||
| * | Simplifying code to use format of select.error arguments that works in both ↵ | Matthew Printz | 2014-02-05 | 1 | -5/+1 |
| | | | | | Py27 and Py3 | ||||
| * | Fixing issue where errno does not exist on select.error | Matthew Printz | 2014-02-04 | 1 | -1/+5 |
| | | |||||
| * | Update pxssh example for Python 3 | Thomas Kluyver | 2014-01-23 | 1 | -10/+10 |
| | | |||||
| * | Polish pxssh docstrings | Thomas Kluyver | 2014-01-23 | 1 | -19/+27 |
| | | |||||
| * | Make code style more regular | Thomas Kluyver | 2014-01-23 | 1 | -24/+21 |
| | | |||||
| * | Fix documentation of using auto_prompt_reset. | Thomas Kluyver | 2014-01-23 | 1 | -4/+3 |
| | | | | | Closes gh-35 | ||||
| * | Prepare for 3.1 release3.1 | Thomas Kluyver | 2014-01-22 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #29 from takluyver/examples-main-blocks | Thomas Kluyver | 2014-01-07 | 1 | -2/+0 |
| |\ | | | | | Don't catch unhandled exceptions in examples. | ||||
| | * | Don't catch unhandled exceptions in examples. | Thomas Kluyver | 2013-12-13 | 1 | -2/+0 |
| | | | | | | | | | Let Python handle printing a traceback and exiting in these cases. | ||||
| * | | Merge pull request #31 from takluyver/stdout-bytes-py3 | Thomas Kluyver | 2014-01-07 | 1 | -1/+8 |
| |\ \ | | | | | | | Allow importing when sys.stdout is reassigned on Python 3 | ||||
| | * | | Allow importing when sys.stdout is reassigned on Python 3 | Thomas Kluyver | 2013-12-18 | 1 | -1/+8 |
| | |/ | | | | | | | Closes gh-30 | ||||
| * | | Merge pull request #34 from offby1/master | Thomas Kluyver | 2014-01-07 | 1 | -0/+1 |
| |\ \ | | | | | | | ExceptionPexpect.__init__: invoke super's init | ||||
| | * | | ExceptionPexpect.__init__: invoke super's init | Eric Hanchrow | 2014-01-06 | 1 | -0/+1 |
| | |/ | | | | | | | | | | | | | | | This avoids an exception in the following: import pexpect import pickle pickle.loads(pickle.dumps(pexpect.EOF('hey you'))) | ||||
| * | | Correct handle when select in spawn returns with an error (e.g. SIGWINCH) | Alex Ho | 2013-12-30 | 1 | -1/+1 |
| |/ | |||||
| * | Cleanup of unused import and loop exit strategy in try_read_prompt | Joel Edwards | 2013-12-11 | 1 | -4/+1 |
| | | |||||
| * | Switched to a simpler approache for appending to the prompt | Joel Edwards | 2013-12-11 | 1 | -11/+3 |
| | | | | | in try_read_prompt thanks to a suggestion from takluyver | ||||
| * | Removed call to self._coerce_read_string in try_read_prompt | Joel Edwards | 2013-12-11 | 1 | -1/+1 |
| | | | | | | This was an artifact from my attempt at adding support for non ASCII character encodings in a prior commit. | ||||
| * | Removed coerce_result argument from pexpect read_nonblocking method. | Joel Edwards | 2013-12-11 | 2 | -8/+4 |
| | | |||||
| * | __init__.py (pexpect) | Joel Edwards | 2013-12-11 | 2 | -7/+19 |
| | | | | | | | | | | - updated the read_nonblocking method to take a new boolean coerce_result argument pxssh.py - updated try_read_prompt to support python 2.x/3.x results from os.read (string/binary respectively) | ||||
| * | Cleaned up prompt synchronization | Joel Edwards | 2013-12-11 | 1 | -24/+36 |
| | | |||||
| * | Added a control arguments to pxssh login method | Joel Edwards | 2013-12-11 | 1 | -14/+42 |
| | | | | | | | | | | - key verification for localhost - configurable quiet setting - synchronization multiplier for (very) slow connections Added new method (try_read_prompt) to pxssh for performing the prompt read quickly on fast connections while not failing on slower connections | ||||
| * | Bump version numbers for 3.0 final release3.0 | Thomas Kluyver | 2013-11-11 | 1 | -1/+1 |
| | | |||||
| * | Bump version numbers for release candidate 33.0rc3 | Thomas Kluyver | 2013-11-04 | 1 | -1/+1 |
| | | |||||
| * | Bump version numbers for release candidate 23.0rc2 | Thomas Kluyver | 2013-10-28 | 1 | -1/+1 |
| | | |||||
| * | Fix silly mistake from previous commit | Thomas Kluyver | 2013-10-27 | 1 | -2/+2 |
| | | |||||
| * | Update version number for 3.0rc13.0rc1 | Thomas Kluyver | 2013-10-27 | 1 | -2/+2 |
| | | |||||
| * | Simplify pexpect.psh | Thomas Kluyver | 2013-10-26 | 1 | -35/+7 |
| | | |||||
| * | Simplify FSM running example | Thomas Kluyver | 2013-10-21 | 1 | -12/+1 |
| | | |||||
| * | Test and cleanup of pexpect.psh | Thomas Kluyver | 2013-10-21 | 1 | -29/+20 |
| | | |||||
| * | Add test for pxssh module | Thomas Kluyver | 2013-10-21 | 1 | -1/+0 |
| | | |||||
| * | Add simple test for pexpect.FSM | Thomas Kluyver | 2013-10-21 | 1 | -2/+4 |
| | | |||||
| * | Test and fix getting tracebacks excluding pexpect code | Thomas Kluyver | 2013-10-21 | 1 | -17/+1 |
| | | |||||
| * | No coverage for import failure | Thomas Kluyver | 2013-10-21 | 1 | -1/+1 |
| | | |||||
| * | Update version numbers for 3.0 beta 23.0b2 | Thomas Kluyver | 2013-10-09 | 1 | -1/+1 |
| | | |||||
| * | Improve test for setting and retrieving window sizebetter-test-winsize | Thomas Kluyver | 2013-10-09 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #10 from pexpect/incremental-decoder | Thomas Kluyver | 2013-10-09 | 1 | -1/+3 |
| |\ | | | | | Incremental decoder | ||||
| | * | `is ucs is None` is not necessaryincremental-decoder | jquast | 2013-10-09 | 1 | -2/+1 |
| | | | | | | | | | | | | | Don't know why I had this in one of my own implementations. An incrementaldecoder never returns None, only u'', which is what we'd want in this context, anywaay. | ||||
| | * | brevity | jquast | 2013-10-09 | 1 | -4/+1 |
| | | | |||||
| | * | incremental decode full buffer, not iterations | jquast | 2013-10-09 | 1 | -4/+3 |
| | | | | | | | forgot that iterating over a byte string yields integers, making for strange values for the incremental decoder ! | ||||
| | * | use an incremental decoder for streams | jquast | 2013-10-08 | 1 | -1/+8 |
| | | | | | | | This allows the test case that slowly prints each byte of a multibyte utf-8 stream to pass. | ||||
| * | | Ignore SIGHUP by default, for backwards compatibility | Thomas Kluyver | 2013-10-08 | 1 | -1/+6 |
| | | | |||||
| * | | Make ignoring of SIGHUP optional (disabled by default) in order to prevent | Kimmo Parviainen-Jalanko | 2013-10-04 | 1 | -5/+5 |
| |/ | | | | process leaks. | ||||
| * | Add spawnu and runu to __all__ list | Thomas Kluyver | 2013-10-02 | 1 | -2/+2 |
| | | |||||
| * | Fix check on timeout | Thomas Kluyver | 2013-10-02 | 1 | -1/+1 |
| | | | | | Closes gh-2 | ||||
| * | Version 3.0 beta 13.0b1 | Thomas Kluyver | 2013-10-02 | 1 | -1/+1 |
| | | |||||
| * | Minor doc fixes | Thomas Kluyver | 2013-10-02 | 1 | -8/+4 |
| | | |||||
| * | Add runu function (unicode interface to run()) | Thomas Kluyver | 2013-10-02 | 1 | -4/+22 |
| | | |||||
