summaryrefslogtreecommitdiff
path: root/pexpect
Commit message (Collapse)AuthorAgeFilesLines
* `is ucs is None` is not necessaryincremental-decoderjquast2013-10-091-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.
* brevityjquast2013-10-091-4/+1
|
* incremental decode full buffer, not iterationsjquast2013-10-091-4/+3
| | | forgot that iterating over a byte string yields integers, making for strange values for the incremental decoder !
* use an incremental decoder for streamsjquast2013-10-081-1/+8
| | | This allows the test case that slowly prints each byte of a multibyte utf-8 stream to pass.
* Add spawnu and runu to __all__ listThomas Kluyver2013-10-021-2/+2
|
* Fix check on timeoutThomas Kluyver2013-10-021-1/+1
| | | | Closes gh-2
* Version 3.0 beta 13.0b1Thomas Kluyver2013-10-021-1/+1
|
* Minor doc fixesThomas Kluyver2013-10-021-8/+4
|
* Add runu function (unicode interface to run())Thomas Kluyver2013-10-021-4/+22
|
* Improve test for bad arguments to expect() and expect_exact()Thomas Kluyver2013-09-301-9/+20
|
* Fix some spelling mistakesThomas Kluyver2013-09-251-5/+5
|
* Fix interact_unicode testThomas Kluyver2013-09-251-2/+8
|
* Fix exception from interact()Thomas Kluyver2013-09-251-37/+6
|
* Fix some importsThomas Kluyver2013-09-251-2/+1
|
* Code tidy-upThomas Kluyver2013-09-251-35/+0
|
* Document screen and ANSIThomas Kluyver2013-09-252-41/+8
|
* Document pxssh moduleThomas Kluyver2013-09-251-9/+11
|
* Document fdpexpect moduleThomas Kluyver2013-09-251-1/+6
|
* Remove bundled six moduleThomas Kluyver2013-09-231-577/+0
|
* Remove use of six in pexpectThomas Kluyver2013-09-231-18/+15
|
* remove UnicodeEncodeError in __str__() for unicodejquast2013-09-231-6/+6
|
* fix:str() before %r still UnicodeEncodeErrorjquast2013-09-231-2/+2
|
* UnicodeEncodeError, not UnicodeDecodeError!jquast2013-09-231-1/+1
|
* only repr() on UnicodeDecodeError in __str__()jquast2013-09-231-2/+11
|
* absurd_match => Nonejquast2013-09-231-8/+6
| | | | This may even have resolved some pattern matching index issues
* UnicodeEncodeError fix -- str => reprjquast2013-09-231-1/+1
| | | | This is only used in error reporting
* unicode fix, exception fixes for py3jquast2013-09-221-18/+24
|
* py2.5-compatible exception handlingjquast2013-09-221-2/+2
|
* py2.5 compatibilities w/six.pyjquast2013-09-221-31/+39
| | | | | | | | | | | | | | | -except Exception as e: +except Exception, err: the unfortunate use of six.b('') instead of b'', many more coming in test cases. string_type => six.binary_type bytes => six.binary_type allowed_string_types now always a tuple: it helps the error message display better, improve TypeError in expect(pattern=) * also: added comments to note these general catch-all statements: except: pass # woah
* 2 unicode fixes + some docfix lang brevityjquast2013-09-221-7/+8
| | | | | | | | | | | | | | | | | | interact() method failed, which attempted to write raw bytes: >>> sys.stdout.write(b'') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: must be str, not bytes this is resolved in class spawn, by encoding as 'ascii'. A much more serious looping test failed, where val == '', and val is b'' >>> b'' == '' False Also included is some docfix language
* doc brevity and clean-upjquast2013-09-221-7/+7
| | | | take a byte out of i/o crime.
* Fix run() for Python 3Thomas Kluyver2013-09-201-3/+3
|
* Fix fdpexpect for Python 3Thomas Kluyver2013-09-201-17/+10
|
* Fix logging tests for Python 3Thomas Kluyver2013-09-201-2/+5
|
* Fix pexpect.FSM for Python 3Thomas Kluyver2013-09-191-20/+19
|
* Move psh and pxssh into pexpectThomas Kluyver2013-09-192-0/+532
|
* Move fdpexpect -> pexpect.fdpexpectThomas Kluyver2013-09-191-0/+99
|
* Move ANSI -> pexpect.ANSIThomas Kluyver2013-09-191-0/+367
|
* Move FSM -> pexpect.FSMThomas Kluyver2013-09-191-0/+346
|
* Move screen -> pexpect.screenThomas Kluyver2013-09-191-0/+396
|
* Add spawnu interface for unicodeThomas Kluyver2013-09-191-33/+93
|
* Changes towards Python 3 compatibility.Thomas Kluyver2013-09-172-18/+613
|
* Start reorganising into packageThomas Kluyver2013-09-171-0/+1952
|
* Moved everything up one directory level.Noah Spurrier2012-10-26106-15102/+0
|
* Fixed tests and improved docs.Noah Spurrier2012-10-252-6/+39
| | | | | | | Some tests did not handle valid conditions, so they generated false errors. I also clarified the documentation of readlines() so that it was clear that you should not use it unless the child process has exited or closed its own stdout.
* Added backward compatability back to Python 2.2.Noah Spurrier2012-10-253-33/+32
| | | | | | | | | | | | | | | I removed some of the changes I was working on for Python3 (mostly exception systax). The reason for doing this is that it's impossible to maintain a single source file that supports both Python2 and Python3, so Python3 is never going to happen in this code anyway.** This is one of the most annoying things about Python3. Maybe I'll create a build script that strips out the Python3 crap so I can at least maintain one set of source files that can be retargeted to Python2 or Python3 as a pre-install step. ** This may not be strictly true, but short of adding conditional tests and exceptions to handle run-time errors I can't think of a clean way to do this.
* This is mostly an update to the license.Noah Spurrier2012-10-2579-1172/+2667
| | | | | I updated the license to a simpler FSF and OSI approved license. I also did some code cleanup.
* Minor changes.noah2009-02-013-7/+7
|
* Just some comment updates.noah2008-12-061-4/+10
|
* This is a waste of space...noah2008-10-021-7542/+0
|