Title: idle3.2 on mac unresponsive on input() called from a source file
Type: behavior Stage: resolved
Components: IDLE Versions: Python 3.2
Status: closed Resolution: duplicate
Dependencies: Superseder: IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input
View: 11088
Assigned To: ned.deily Nosy List: John.DeNero, ned.deily
Priority: normal Keywords:

Created on 2011-04-16 03:48 by John.DeNero, last changed 2011-04-16 06:26 by ned.deily. This issue is now closed.

File name Uploaded Description Edit John.DeNero, 2011-04-16 03:48 Example script file that will not run
Messages (2)
msg133878 - (view) Author: John DeNero (John.DeNero) Date: 2011-04-16 03:48
idle3.2 becomes unresponsive if the input() function is called from a source file run via F5.

To repeat:
- Create a script file with the contents: "input()"
- Press F5 to run
- Idle is now unresponsive and ^C interrupt is not caught unless issued at the command line

Note that calling input() from idle's interactive shell works fine, as does running the script from the command line.
msg133882 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-04-16 06:26
Thanks for the report. This is the same problem as reported in Issue11088.  A fix will be available in the next releases of Python 3.2 and 2.7.  A workaround is to use the 32-bit-only version of Python 3.2 which uses the Tcl/Tk 8.4 or to not try to do input() in an editor window.
Date User Action Args
2011-04-16 06:26:15ned.deilysetstatus: open -> closed

assignee: ned.deily
messages: + msg133882
nosy: + ned.deily

superseder: IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input
type: crash -> behavior
resolution: duplicate
stage: resolved
2011-04-16 03:48:27John.DeNerocreate