[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input
Ronald Oussoren
report at bugs.python.org
Tue Mar 15 21:31:25 CET 2011
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
This isn't strictly a key-bindings problem, other events also cause problems.
I've patched ScriptBinding.py and repacled run_module_event that causes the original, now renamed, method to be called a little why later. This change doesn't fix the issue but makes it even worse: even the menu no longer works.
def run_module_event(self, event):
self.editwin.text_frame.after('idle', self._run_module_event, None)
return 'break'
def _run_module_event(self, event):
"""Run the module after setting up the environment.
I'm getting more and more disappointed in the way Tk on OSX is moving forward.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11088>
_______________________________________
More information about the Python-bugs-list
mailing list