[New-bugs-announce] [issue45381] IDLE cannot kill process. "interupt" ctl+c and "restart shell" freeze program.
A A
report at bugs.python.org
Tue Oct 5 15:11:17 EDT 2021
New submission from A A <capsicumw at gmail.com>:
Idle3 with python 3.7.3 on Debian Buster and XFCE.
Attempting to run the line 'print ("Hello World" * 8**8)' from either the Idle shell window or Idle editor will cause Idle to hang and one CPU core runs 100%.(allowed it to run for several minutes)
ctl+c or menu Shell>interrupt execution simply pauses CPU processing but does not terminate the process nor is there an option to continue the process. Following this interrupt with use of menu Shell>Restart-shell causes Idle to fully freeze and then requires a system terminate signal to close Idle.
The same line of python used in Idle on another student's MS-Windows laptop required ctl-alt-del this was a fresh download with v3.9 as I recall.
When used used on the system Bash shell and python 3.7.3, the line operates without any trouble and finishes in 20seconds as: $ python3 -c 'print ( "Hello World " * 8**8)'
Suggestion is that the ctl+c or the Interrupt menu option in Idle should terminate the running code rather than pause it.
----------
assignee: terry.reedy
components: IDLE
messages: 403259
nosy: capsicumw, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE cannot kill process. "interupt" ctl+c and "restart shell" freeze program.
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45381>
_______________________________________
More information about the New-bugs-announce
mailing list