<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pexpect.git, branch issue-42-cannot-implicit-bytes-to-str</title>
<subtitle>github.com: pexpect/pexpect.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/'/>
<entry>
<title>display expected prompt as PROMPT, not PROMPT_SET_SH</title>
<updated>2014-03-08T01:22:01+00:00</updated>
<author>
<name>jquast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2014-03-08T01:22:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=2ba85516dd2b95bab1674becc42326df72265d0c'/>
<id>2ba85516dd2b95bab1674becc42326df72265d0c</id>
<content type='text'>
completes issue #44; thanks to @takluyver for keen eye.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
completes issue #44; thanks to @takluyver for keen eye.
</pre>
</div>
</content>
</entry>
<entry>
<title>assertRaises is not 2.6-&gt;3.x compatible</title>
<updated>2014-03-07T07:05:43+00:00</updated>
<author>
<name>jquast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2014-03-07T07:05:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=0600cbc0d356cfa2e2fbcf2428214726085b19e2'/>
<id>0600cbc0d356cfa2e2fbcf2428214726085b19e2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>closes issue #42, self.buffer decoded implicitly</title>
<updated>2014-03-07T06:46:43+00:00</updated>
<author>
<name>jquast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2014-03-07T06:46:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=5a393f4af034e180beb275d90b1d8f7475b68a63'/>
<id>5a393f4af034e180beb275d90b1d8f7475b68a63</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #41 from chrismerck/patch-1</title>
<updated>2014-02-20T20:00:13+00:00</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2014-02-20T20:00:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=886430f6d13e8b5555bf08a1220093b3ca5fc657'/>
<id>886430f6d13e8b5555bf08a1220093b3ca5fc657</id>
<content type='text'>
FAQ.rst: Removed redundant paragraph.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
FAQ.rst: Removed redundant paragraph.</pre>
</div>
</content>
</entry>
<entry>
<title>FAQ.rst: Removed redundant paragraph.</title>
<updated>2014-02-20T15:47:26+00:00</updated>
<author>
<name>Chris Merck</name>
<email>chrismerck@gmail.com</email>
</author>
<published>2014-02-20T15:47:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=81c45250dd8d48c959e242064590567f627f28f7'/>
<id>81c45250dd8d48c959e242064590567f627f28f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #40 from emaste/master</title>
<updated>2014-02-13T20:11:22+00:00</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2014-02-13T20:11:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=d7be1bdc66df448fc055f8aa8da795224c7ce747'/>
<id>d7be1bdc66df448fc055f8aa8da795224c7ce747</id>
<content type='text'>
Remove workaround for bug affecting very old platforms</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove workaround for bug affecting very old platforms</pre>
</div>
</content>
</entry>
<entry>
<title>Remove workaround for bug affecting very old platforms</title>
<updated>2014-02-13T19:34:20+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@freebsd.org</email>
</author>
<published>2014-02-13T18:35:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=5a4ad4b882f23c07bf8b51c4ba1ed4229ee52e78'/>
<id>5a4ad4b882f23c07bf8b51c4ba1ed4229ee52e78</id>
<content type='text'>
https://github.com/pexpect/pexpect/issues/39
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/pexpect/pexpect/issues/39
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #38 from mattprintz/master</title>
<updated>2014-02-07T17:50:57+00:00</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2014-02-07T17:50:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=a97f580d5cdd0f479ea64d36edc164ea769d4084'/>
<id>a97f580d5cdd0f479ea64d36edc164ea769d4084</id>
<content type='text'>
Bug: AttributeError: 'error' object has no attribute 'errno'</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: AttributeError: 'error' object has no attribute 'errno'</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing test for signal interrupt exception</title>
<updated>2014-02-06T23:49:09+00:00</updated>
<author>
<name>Matthew Printz</name>
<email>matt.printz@rackspace.com</email>
</author>
<published>2014-02-06T23:49:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=9b74f12bbe35f2a60b5cc389438fefd0218fec40'/>
<id>9b74f12bbe35f2a60b5cc389438fefd0218fec40</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding test to for signal handling error</title>
<updated>2014-02-06T18:25:43+00:00</updated>
<author>
<name>Matthew Printz</name>
<email>matt.printz@rackspace.com</email>
</author>
<published>2014-02-06T18:25:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=954f2c743123f35c991318285ff7d63390e2bd62'/>
<id>954f2c743123f35c991318285ff7d63390e2bd62</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
