commit | cd7a78e0a4130674b814934a9d77c92d9cbbf9be | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Jan 31 07:48:49 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Wed Jan 31 07:48:49 2007 +0000 |
tree | e75c4cc5db7b482fec1669c81800952c116b3c57 | |
parent | d13eeb7fd272bdf856ea73d83a5d9e17b5a83322 [diff] |
[Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect; 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. (<crossing fingers for the buildbots>) Backport from trunk rev. 53146.