Roundup Robot devnull@devnull added the comment:
New changeset 1c6823317a06 by Ronald Oussoren in branch '3.2':
Fixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5
http://hg.python.org/cpython/rev/1c6823317a06
--
nosy: +python-dev
Roundup Robot devnull@devnull added the comment:
New changeset 85aa02bc674c by Ronald Oussoren in branch 'default':
Fixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5
http://hg.python.org/cpython/rev/85aa02bc674c
--
___
Roundup Robot devnull@devnull added the comment:
New changeset 578020fe2875 by Ronald Oussoren in branch '2.7':
(backport) Fixes #11088: IDLE crashes when using F5 to run a script on OSX with
Tk 8.5
http://hg.python.org/cpython/rev/578020fe2875
--
Ronald Oussoren ronaldousso...@mac.com added the comment:
I don't really like this patch, but like crashes that cause data loss even
less...
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker
Ned Deily n...@acm.org added the comment:
I don't have any better suggestions at the moment so let's go with it. Perhaps
we'll get more insight to the root cause later.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11088
Ronald Oussoren ronaldousso...@mac.com added the comment:
The same fix also works with 2.7.
The attached patch is basically the same patch, but the special casing for OSX
is impacts other platforms even less than before.
--
Added file:
Ronald Oussoren ronaldousso...@mac.com added the comment:
This does seem to be gone in 3.2 with a up-to-date Tk 8.5 from ActiveState.
--
nosy: +ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11088
Ned Deily n...@acm.org added the comment:
I can still reproduce it in 3.2 with A/S Tk 8.5. The script needs to be run
from a separate editor window, not the PyShell window.
--
___
Python tracker rep...@bugs.python.org
Ronald Oussoren ronaldousso...@mac.com added the comment:
On 15 Mar, 2011, at 13:57, Ned Deily wrote:
Ned Deily n...@acm.org added the comment:
I can still reproduce it in 3.2 with A/S Tk 8.5. The script needs to be run
from a separate editor window, not the PyShell window.
That's
Ned Deily n...@acm.org added the comment:
Sorry, forgot one crucial step: you have to use the keyboard accelerator (F5)
to run the script, not the mouse and the menu. It seems like a number of the
problems out there with Cocoa Tk 8.5 have to do with using the keyboard
accelerators.
Ronald Oussoren ronaldousso...@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
Ronald Oussoren ronaldousso...@mac.com added the comment:
Got it to work by introducing both a delayed call and a generated event, just
one of those isn't good enough.
The attached patch seems to fix the issue for me (patch was created using
diff(1), not through mercurial).
I haven't tested
Changes by Ronald Oussoren ronaldousso...@mac.com:
Removed file: http://bugs.python.org/file21226/issue-11088.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11088
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
Added an updated version of the patch:
* Only perform the workaround in IDLE.app on OSX
* A slightly longer timeout is needed to work reliably on my machine
The latter bullet indicates that this is probably not a reliable fix,
there is
New submission from Ned Deily n...@acm.org:
As reported by Alex McNerney in Issue11075 msg127687:
... running Python 2.7.1:88286 (maintenance) [built from source] on
ActiveState Tcl/Tk 8.5.9 causes the idle to hang when a simple script like:
x = raw_input(x: )
print x
is run. Is this a bug
15 matches
Mail list logo