[issue41413] At prompt for input(), pressing Command q kills IDLE

2020-07-27 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the report. Actually this behavior is not specific to running IDLE 
on macOS, it's also reproducible on Linux and on all current versions of IDLE.

--
components:  -macOS
nosy:  -ronaldoussoren
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41413] At prompt for input(), pressing Command q kills IDLE

2020-07-27 Thread Irv Kalb


New submission from Irv Kalb :

This is probably related to earlier problems with running IDLE on MacOS 
Catalina:

Environment:

MacOS Catalina:  10.15.5
Python: 3.7.3
IDLE: 3.7.3

Steps to reproduce:

- Open IDLE, create a new file.  (Can reopen this file again for subsequent 
tests.)

- Code can consist of a single line:

dontCare = input('While this prompt for input is up, press Command q: ')

- Save and run

- When you see the prompt, press Command q to quit.

- See correct dialog box:  Your program is still running!  Do you want to kill 
it?

- Press OK.

Results:

- Python program quits.  Source file window closes. IDLE is left in an 
"unstable" state with only the IDLE menu option available.

At this point, any attempt to do anything with IDLE crashes IDLE, and shows a 
Mac system dialog box:

IDLE quit unexpectedly.  Click Reopen to open the application. Click Report to 
.


Note:  This is not a huge deal because I have to restart IDLE anyway because of 
a bug 38946, which does not allow me to allow me to double click on a Python 
file if IDLE is already running.  But I thought this new information might help 
track things down.



I have run in to this because I am correcting many student's homework files, 
where I ask them to build a loop where they ask the user for information, do 
some processing, and generate output with that information.  Then the loop goes 
around again and asks for input again.  I want to quit the application at that 
point, but I always end up crashing IDLE.

--
assignee: terry.reedy
components: IDLE, macOS
messages: 374407
nosy: IrvKalb, ned.deily, ronaldoussoren, terry.reedy
priority: normal
severity: normal
status: open
title: At prompt for input(), pressing Command q kills IDLE
type: crash
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com