I'm trying to diagnose a problem with IDLE when it runs on top of
Tk-Cocoa, as documented in this bug I filed:
http://bugs.python.org/issue6463
Basically, the editor window hangs/freezes when I try to paste, cut, or
format text. This requires me to force-quite IDLE. The behavior I'm
observing is that the "Edit" menu, for instance, flashes, and then won't
release focus. At that point the editor window won't take input and
doesn't respond.
The problem is that this is very hard to debug. I can't reproduce the
issue outside of IDLE's code, which suggests to me that the issue isn't
with Tk-Cocoa itself. When I create a simple text display using Tkinter
and its standard cut/copy/paste events, things work as expected with no
freezes. When I add some "print" statements to EditorWindow.py to try to
trace how events are firing, they appear to fire as expected (i.e.
"paste" starts out working as normal before hanging).
No Python or Tk error messages are printed to output/console, so I can't
trace the issue that way either.
Any suggestions on other avenues I can look at? I'm a bit stumped here.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig