]> granicus.if.org Git - python/commitdiff
SF bug 778400: IDLE hangs when selecting "Edit with IDLE".
authorTim Peters <tim.peters@gmail.com>
Tue, 29 Jul 2003 17:22:57 +0000 (17:22 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 29 Jul 2003 17:22:57 +0000 (17:22 +0000)
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
PCbuild/python20.wse

index 3940d4d616453928ffd58ed4550477d3182cc00f..a9ca312e4579bbbfcfedb3de5f80383a2205b845 100644 (file)
--- 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
index b1afad72f2a09a6d9a4a57d3a37fa428191bfd78..5ab12f1af19b5ab4fb48a5276fa75460d3f86fba 100644 (file)
@@ -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