-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Failure during the print of select.select output with unblocking sys.stdin #126468
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
Comments
Can not reproduce it on main and 3.13 branch. Would you mind providing more detail? |
@Zheaoli |
Yes,
|
I encountered this problem with the python311 package, and you said that you tried 3.13 Can you try with python311? |
3.11 is no longer receiving bug fixes. Can you try 3.12 or 3.13? See https://devguide.python.org/versions/ |
Running this on Linux on current HEAD (v3.1-alpha) I get this:
Which I think is actually to be expected: note this is failing in the It looks like the OP's original bug is the same, note the file reported in the error is
In the bug report the exception is being swallowed and reported by In other words, I think everything is working correctly now, and actually probably was before also, given POSIX standard in/out file descriptor semantics. It is losing error output, but that possibility is unavoidable given a non-blocking |
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
This code terminates with error messages after several loop iterations:
The failure occurs in
print(f'< ready={ready}')
.Python-3.11
FreeBSD 14.1
CPython versions tested on:
3.11
Operating systems tested on:
Other
The text was updated successfully, but these errors were encountered: