IDLE crashes for certain buttons on Mac

3.6k Views Asked by At

I am running OS X 10.9.5, and IDLE w/ Python 3.4.1.

When I press the buttons for (¨/^) or (´/`), IDLE crashes and the program closes.

This causes me to lose changes to files, as well as time. My fellow students using Mac experience the same problem.

Anyone know how I can fix this?

2

There are 2 best solutions below

2
On

I am pretty sure that the version of tcl/tk you are using is having a problem with your non-US national keyboard (which country?) Un-shifted, those key produce non-ascii diacritic chars, ord(´)==180 and ord(¨)==168, that are usually composed with another character.

The download page, at the bottom, directs OSX users to this mac-tck/tk page. That page says to install ActiveTcl 8.5.16.0 from ActiveState. The older tcl/tk 8.5.9 from Apple has a problem with composition chars that has since been fixed

In the meanwhile, start Idle in a console window with python3 -m idlelib (I think python3 is the correct name for OSX) and you should see some error messages that should verify the above. This may also solve the problem of Idle stopping.

0
On

I got the similar problem, Try British pc keyboard it works for me