New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EAGAIN when sys.stdin.readline() #39696
Comments
$ cat test.py
import sys
print sys.stdin.readline()
$ python test.py | python test.py
Traceback (most recent call last):
File "test.py", line 2, in ?
print sys.stdin.readline()
IOError: [Errno 35] Resource temporarily unavailable This happens about 3 times out of 5. It does _not_ happen under Debian 3.0 or According to read(2) this "error" should occur only when |
Logged In: YES Same on OpenBSD: $ uname -a
OpenBSD owl 3.2 GENERIC#25 i386
$ python -V
Python 2.2.1
$ python test.py | python test.py
Traceback (most recent call last):
File "test.py", line 2, in ?
print sys.stdin.readline()
IOError: [Errno 35] Resource temporarily unavailable |
Logged In: YES I could not reproduce the error on several versions of FreeBSD: 5.2-BETA Thu Dec 4 21:59:16 KST 2003 i386 (non-SMP) Do you have any uncommon factor of environment? |
Logged In: YES All my python versions are compiled from source. Further, since the problem only occur some of the time and I refuse to believe that this issue has never been raised |
The bug is probably outdated. Please create a new issue if the bug still |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: