summaryrefslogtreecommitdiff
path: root/pexpect/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* 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 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 logging tests for Python 3Thomas Kluyver2013-09-201-2/+5
|
* Add spawnu interface for unicodeThomas Kluyver2013-09-191-33/+93
|
* Changes towards Python 3 compatibility.Thomas Kluyver2013-09-171-18/+36
|
* Start reorganising into packageThomas Kluyver2013-09-171-0/+1952