Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Bug: AttributeError: 'error' object has no attribute 'errno' #38
This fixes an issue I am encountering where 'errno' is not an attribute of the 'select.error' class. This preserves the behavior should the errno attribute exist, but allows the old behavior (changed in commit efa531a on 2013-12-30) to continue to function.
I got this issue when using pexpect3.1 on python2.7.3 and passing a SIGWINCH via signal after running interact
In short: I resize my window, pexpect causes program to crash
Rats, I merged #33 assuming that the same thing would work in Python 2, but it looks like although
Whatever we do, can I ask you to add a test that covers the exception handling code, so that we don't break this again? I think it will need to start a subprocess which is sets a SIGALRM for itself and then waits in a