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.

classification
Title: IDLE crash when typing ^ character on Mac OS X
Type: crash Stage:
Components: IDLE, macOS Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ronaldoussoren Nosy List: JPEC, Ramchandra Apte, ronaldoussoren
Priority: normal Keywords:

Created on 2012-05-16 09:51 by JPEC, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (7)
msg160821 - (view) Author: Julien Pecqueur (JPEC) Date: 2012-05-16 09:51
IDLE crash when i type the character ^ (for example writing "ê" in a comment).

I have the crash only on Mac OS X (Mac OS X 64-bit/32-bit Installer (3.2.3) for Mac OS X 10.6 and 10.7).

I don't have this crash on Linux.
msg160831 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2012-05-16 11:36
Please run IDLE from the command line and send the output when it crashes. (If I knew Mac better I would tell you the precise instructions)
msg160833 - (view) Author: Julien Pecqueur (JPEC) Date: 2012-05-16 11:42
I'll send the output this evening.
msg160836 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2012-05-16 11:53
Do you have a recent version of ActiveState's Tcl/Tk distribution installed?  

If you do not have this installed you ran into a known issue in Apple's copy of Tcl/Tk, see <http://www.python.org/download/mac/tcltk/> for more information.
msg160837 - (view) Author: Julien Pecqueur (JPEC) Date: 2012-05-16 12:02
My system is an up to date OS X 10.7.
The Tcl/Tk package is the default (I haven't installed a specific version).
Should i need to install the ActiveState package ?
msg160845 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2012-05-16 12:23
Yes. As the webpage I mentioned describes Apple's installation of Tcl/Tk contains a number of serious bugs, one of which is that Tk's handling of dead keys (the "^" you use write "û") causes crashes.

To get a fully functional copy of Idle you'll have to install ActiveState's Tcl/Tk as well. 

We could ship a copy of Tk in the installer as well, but have chosen not to do that because the installer is large enough as it is. Furthermore the Cocoa port of Tcl/Tk is at this time still a moving target,  which means that we couldn't even ship the same version of Tcl/Tk for the entire lifetime of Python 3.2.x.

Please let us know if installing ActiveState's Tcl/Tk fixes the crash, I expect it will but you might have run into yet another Tk bug.
msg160902 - (view) Author: Julien Pecqueur (JPEC) Date: 2012-05-16 18:03
Installing ActiveState's Tcl/Tk package fix the crash.
Thank you for your answers.
History
Date User Action Args
2022-04-11 14:57:30adminsetgithub: 59032
2012-05-16 18:03:54JPECsetstatus: open -> closed
resolution: fixed
messages: + msg160902
2012-05-16 12:23:42ronaldoussorensetmessages: + msg160845
2012-05-16 12:02:48JPECsetmessages: + msg160837
2012-05-16 11:53:03ronaldoussorensetmessages: + msg160836
2012-05-16 11:42:37JPECsetmessages: + msg160833
2012-05-16 11:37:12Ramchandra Aptesetassignee: ronaldoussoren

components: + macOS
nosy: + ronaldoussoren
2012-05-16 11:36:52Ramchandra Aptesetnosy: + Ramchandra Apte
messages: + msg160831
2012-05-16 09:51:08JPECcreate