From 36c1afc47ab0cbd7af71a4157853778d2c9faa59 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 29 Jul 2003 17:22:57 +0000 Subject: [PATCH] SF bug 778400: IDLE hangs when selecting "Edit with IDLE". The fix is confined to the Windows installer. Not a bugfix candidate: the need for the new -n switch added here was introduced by moving to the idlefork IDLE (so this change isn't needed or helpful before 2.3). --- Misc/NEWS | 5 +++++ PCbuild/python20.wse | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index 3940d4d6164..a9ca312e457 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -21,6 +21,11 @@ Library IDLE ---- +- Bug 778400: IDLE hangs when selecting "Edit with IDLE" from explorer. + This was unique to Windows, and was fixed by adding an -n switch to + the command the Windows installer creates to execute "Edit with IDLE" + context-menu actions. + - IDLE displays a new message upon startup: some "personal firewall" kinds of programs (for example, ZoneAlarm) open a dialog of their own when any program opens a socket. IDLE does use sockets, talking diff --git a/PCbuild/python20.wse b/PCbuild/python20.wse index b1afad72f2a..5ab12f1af19 100644 --- a/PCbuild/python20.wse +++ b/PCbuild/python20.wse @@ -2657,25 +2657,25 @@ end item: Edit Registry Total Keys=1 Key=Python.NoConFile\shell\Edit with IDLE\command - New Value=%MAINDIR%\pythonw.exe %MAINDIR%\Lib\idlelib\idle.pyw -e "%%1" + New Value=%MAINDIR%\pythonw.exe %MAINDIR%\Lib\idlelib\idle.pyw -n -e "%%1" end item: Edit Registry Total Keys=1 Key=Python.File\shell\Edit with IDLE\command - New Value=%MAINDIR%\pythonw.exe %MAINDIR%\Lib\idlelib\idle.pyw -e "%%1" + New Value=%MAINDIR%\pythonw.exe %MAINDIR%\Lib\idlelib\idle.pyw -n -e "%%1" end item: Else Statement end item: Edit Registry Total Keys=1 Key=Software\CLASSES\Python.NoConFile\shell\Edit with IDLE\command - New Value=%MAINDIR%\pythonw.exe %MAINDIR%\Lib\idlelib\idle.pyw -e "%%1" + New Value=%MAINDIR%\pythonw.exe %MAINDIR%\Lib\idlelib\idle.pyw -n -e "%%1" Root=1 end item: Edit Registry Total Keys=1 Key=Software\CLASSES\Python.File\shell\Edit with IDLE\command - New Value=%MAINDIR%\pythonw.exe %MAINDIR%\Lib\idlelib\idle.pyw -e "%%1" + New Value=%MAINDIR%\pythonw.exe %MAINDIR%\Lib\idlelib\idle.pyw -n -e "%%1" Root=1 end item: End Block