This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: OS X IDLE 3 with Tk 8.4 appears to hang with syntax error
Type: behavior Stage: resolved
Components: Versions: Python 3.1, Python 3.2
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ned.deily Nosy List: benjamin.peterson, georg.brandl, ned.deily
Priority: Keywords: patch

Created on 2011-01-29 03:17 by ned.deily, last changed 2022-04-11 14:57 by admin. This issue is now closed.

File name Uploaded Description Edit
issue_syntax_error_message.patch ned.deily, 2011-01-29 03:17
Messages (4)
msg127375 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-01-29 03:17
When IDLE 3 is used with Aqua Tk 8.4 on OS X (as is the case with the 32-bit-only installer for Python 3.1.x or 3.2rc1), if the user tries to run a Python program with a syntax error from an editor window, the Run command causes the IDLE shell window to move to the front, generally obscuring the editor window.  For some unknown reason, a slight change between IDLE 2.x and IDLE 3.x causes the resulting modal Syntax Error message window to drop down from and be attached to the menu bar of the Editor Window. With Aqua Tk 8.4, the modal error only responds to a mouse click on the obscured Editor window's menu bar.  To an unsuspecting user, it appears that IDLE is hung.  In IDLE 2.x, the resulting modal error message is a top-level one, so it appears in a separate, unobscured window, the same as all other error messages in IDLE 2.x and 3.x.  From the svn checkin early in the Python 3 development cycle, it is not at all clear why this minor change was made but it causes a major usability problem for OS X users.

The attached patch reverts the change in this case restoring the behavior of IDLE 2.x.  This fix should be applied to 3.2rc2.
msg127390 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2011-01-29 09:36
Good to go.
msg127463 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-01-29 18:45
Committed in r88234 for 3.2rc2.  Pending backport to 3.1.
msg127498 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-01-29 23:36
r88242 for 3.1
Date User Action Args
2022-04-11 14:57:12adminsetgithub: 55262
2011-01-29 23:47:34ned.deilylinkissue6628 superseder
2011-01-29 23:45:41ned.deilylinkissue9763 superseder
2011-01-29 23:36:29ned.deilysetstatus: pending -> closed
nosy: georg.brandl, benjamin.peterson, ned.deily
messages: + msg127498
2011-01-29 18:45:44ned.deilysetstatus: open -> pending

nosy: georg.brandl, benjamin.peterson, ned.deily
messages: + msg127463
priority: release blocker ->
resolution: fixed
stage: commit review -> resolved
2011-01-29 09:36:24georg.brandlsetnosy: georg.brandl, benjamin.peterson, ned.deily
messages: + msg127390
2011-01-29 03:17:32ned.deilycreate