Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
cbd02cb8
Commit
cbd02cb8
authored
7 years ago
by
Elizaveta Shashkova
1
Browse files
Options
Download
Email Patches
Plain Diff
Updates from PyDev: #PyDev-816: Interrupting infinite loop in the Interactive Console
parent
0ad9d9fc
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/helpers/pydev/_pydev_bundle/pydev_console_utils.py
+2
-0
python/helpers/pydev/_pydev_bundle/pydev_console_utils.py
with
2 additions
and
0 deletions
+2
-0
python/helpers/pydev/_pydev_bundle/pydev_console_utils.py
+
2
-
0
View file @
cbd02cb8
...
...
@@ -122,6 +122,8 @@ class StdIn(BaseStdIn):
if
not
requested_input
:
return
'
\n
'
# Yes, a readline must return something (otherwise we can get an EOFError on the input() call).
return
requested_input
except
KeyboardInterrupt
:
raise
# Let KeyboardInterrupt go through -- #PyDev-816: Interrupting infinite loop in the Interactive Console
except
:
return
'
\n
'
...
...
This diff is collapsed.
Click to expand it.
小 白蛋
@baidan
mentioned in commit
4aab4a8e
·
2 years ago
mentioned in commit
4aab4a8e
mentioned in commit 4aab4a8e1589dc258fc2ea603a0097f797de855f
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help