[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2013-02-04 Thread Bruce Sherwood
Bruce Sherwood added the comment: For what it's worth (maybe not much?), the version of IDLE produced by Guilherme Polo in the 2009 Google Summer of Code, which VPython (vpython.org) uses under the name VIDLE, does not have any problem with starting with an edit window and in fact I always use it

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2013-02-04 Thread Patrick
Patrick added the comment: I am seeing this as well. It does not repro 100% of the time, but frequently enough that its hard to get anything done. My repro is a little simpler and might help understanding the fix. Win7 Python 3.3 I start IDLE normally from the shortcut in the install. Ctrl-N

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2012-04-15 Thread Roger Serwy
Roger Serwy added the comment: Thanks for your review, Terry. Popping from the end is not an implementation of rule 2. Calling event handlers is separate concept from binding/unbinding event handlers. The "doafterhandler" list contains bind/unbind requests that were made while calling event h

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2012-04-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 3.2.3, after selecting open edit on startup and using ^O to select a file, I got a silent close of the editor window. Opening from the file menu worked. After the change of adding '0', ^O worked also. However, without a test suite, I am a little nervous

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2012-04-15 Thread Roger Serwy
Roger Serwy added the comment: Implicit relative imports are not related to this issue. Can someone please review the given patch? -- stage: -> patch review ___ Python tracker ___

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2012-04-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Brett C. just today pushed http://hg.python.org/cpython/rev/556b9bafdee8 changeset: 76310:556b9bafdee8 user:Brett Cannon date:Sat Apr 14 20:44:23 2012 -0400 summary: IDLE was relying on implicit relative imports which have gone away in Pytho

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2012-04-14 Thread Roger Serwy
Changes by Roger Serwy : -- nosy: +asvetlov, terry.reedy type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2011-12-11 Thread Roger Serwy
Roger Serwy added the comment: Attached is a patch to fix the bug. When selecting "Open" from the File Menu, "ishanderrunning" is empty. Unbind/Bind requests are handled synchronously. When pressing "Ctrl+O", "ishandlerrunning" is no longer empty, and the actual bind/unbind events get append

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2010-10-14 Thread Bruce Sherwood
Bruce Sherwood added the comment: Putting print statements in that part of the world shows that the reason why the list.remove fails is that while a ColorDelegator.toggle_colorize_event object is in the list, it has a different memory address than the ColorDelegator.toggle_colorize_event obje

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2010-06-05 Thread Tal Einat
Tal Einat added the comment: I can consistently reproduce this with Python 3.0.1 by setting IDLE to start in editing mode and using Ctrl+o to open the Open dialog. Doesn't happen when using the menu item in the File menu. This leads me to believe it has something to do with keypress event pro

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2010-06-04 Thread Michael Huster
New submission from Michael Huster : This only seems to be a problem under Windows. >From a Portable Python discussion: I am using Portable Python 1.1, python 3.0.1. I am trying to set up a .bat file file to easily start IDLE. But IDLE is throwing an error and failing some of the time. It only ha