From: Tim Peters Date: Tue, 29 Jul 2003 17:22:57 +0000 (+0000) Subject: SF bug 778400: IDLE hangs when selecting "Edit with IDLE". X-Git-Tag: v2.3.1~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36c1afc47ab0cbd7af71a4157853778d2c9faa59;p=python 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). --- diff --git a/Misc/NEWS b/Misc/NEWS index 3940d4d616..a9ca312e45 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 b1afad72f2..5ab12f1af1 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