<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_pty.py, branch 2.6</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_pty.py?h=2.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_pty.py?h=2.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2007-04-27T06:45:32Z</updated>
<entry>
<title>This gets the test working on Solaris.  It seems a little hokey to me,</title>
<updated>2007-04-27T06:45:32Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2007-04-27T06:45:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1b59d10ce2a8eeb50878bc5a292bcc2257c40c47'/>
<id>urn:sha1:1b59d10ce2a8eeb50878bc5a292bcc2257c40c47</id>
<content type='text'>
but the test passed on Linux and Solaris, hopefully other platforms too.
</content>
</entry>
<entry>
<title>Port r54805 from python25-maint branch:</title>
<updated>2007-04-13T18:47:14Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2007-04-13T18:47:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=25a3864541dc9259a3bfd36b195cbb764f8e2d56'/>
<id>urn:sha1:25a3864541dc9259a3bfd36b195cbb764f8e2d56</id>
<content type='text'>
Add code to read from master_fd in the parent, breaking when we get an OSError
(EIO can occur on Linux) or there's no more data to read.  Without this,
test_pty.py can hang on the waitpid() because the child is blocking on the
stdout write.  This will definitely happen on Mac OS X and could potentially
happen on other platforms.  See the comment for details.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2007-03-12T18:07:52Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2007-03-12T18:07:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ea5962f86e8550978446724dadcacd60e03feef2'/>
<id>urn:sha1:ea5962f86e8550978446724dadcacd60e03feef2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #1675471: convert test_pty to unittest.</title>
<updated>2007-03-07T11:37:42Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2007-03-07T11:37:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9decc0dc8b42c713e030dafc766af7ddfc6caf89'/>
<id>urn:sha1:9decc0dc8b42c713e030dafc766af7ddfc6caf89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2007-01-30T03:03:46Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2007-01-30T03:03:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f733abb7831d6566cb0fccd0550d58ec3b7f05a4'/>
<id>urn:sha1:f733abb7831d6566cb0fccd0550d58ec3b7f05a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Frak; this test also fails</title>
<updated>2006-12-22T21:48:19Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-12-22T21:48:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=55c54a2fa13b0238e7de5f94ea697eab38a40069'/>
<id>urn:sha1:55c54a2fa13b0238e7de5f94ea697eab38a40069</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Darn; this test works when you run test_pty.py directly, but fails when regrtest runs it (the os.read() raises os.error).  I can't figure out the cause, so am commenting out the test.</title>
<updated>2006-12-22T19:21:27Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-12-22T19:21:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f2881e83156718235597c5d676ec71822c26b529'/>
<id>urn:sha1:f2881e83156718235597c5d676ec71822c26b529</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect;</title>
<updated>2006-12-22T18:41:42Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-12-22T18:41:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ee0e6d16b371a66e1d9ab8103fb51117db37cdbc'/>
<id>urn:sha1:ee0e6d16b371a66e1d9ab8103fb51117db37cdbc</id>
<content type='text'>
the master should close the slave fd.

Added a test to test_pty.py that reads from the master_fd after doing
a pty.fork(); without the fix it hangs forever instead of raising an
exception.  (&lt;crossing fingers for the buildbots&gt;)

2.5 backport candidate.
</content>
</entry>
<entry>
<title>Fix this test on Solaris.  There can be embedded \r, so don't just replace</title>
<updated>2006-04-26T06:26:12Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-04-26T06:26:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9cc3b1ccef8f348ebfc36a13ec54e78423e9b4ff'/>
<id>urn:sha1:9cc3b1ccef8f348ebfc36a13ec54e78423e9b4ff</id>
<content type='text'>
the one at the end.
</content>
</entry>
<entry>
<title>SF bug/patch #1433877: string parameter to ioctl not null terminated</title>
<updated>2006-04-25T13:53:23Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-04-25T13:53:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6dbff33be848ed875f3769be6b866438b099aa3a'/>
<id>urn:sha1:6dbff33be848ed875f3769be6b866438b099aa3a</id>
<content type='text'>
The new char-array used in ioctl calls wasn't explicitly NUL-terminated;
quite probably the cause for the test_pty failures on Solaris that we
circumvented earlier. (I wasn't able to reproduce it with this patch, but it
has been somewhat elusive to start with.)
</content>
</entry>
</feed>
