-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
input fucntion raises SystemError after specific input. #82337
Comments
input function raises a SystemError in bash(similar shells) It causes crash in python scripts even if KeyboardInterrupt and EOFError are handeled. No EOFError or KeyboardInterrupt error is raised in such cases. Tested with python script: (file input-test.py) Inputs are represented as: ^D :- CTRL+d, ^C :- CTRL+c eg: Traceback: The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 1, in <module>
SystemError: <built-in function input> returned a result with an error set inputs: Traceback: The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "input-test.py", line 2, in <module>
tmp = input()
SystemError: <built-in function input> returned a result with an error set Python version: 3.7 |
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: