diff

Use the appropriate Python executable, when multiple Pythons are installed
Not yet accepted patch: http://bugs.python.org/issue6378

Index: python/Lib/idlelib/idle.bat
===================================================================
--- python.orig/Lib/idlelib/idle.bat	(revision 73697)
+++ python/Lib/idlelib/idle.bat	(working copy)
@@ -1,3 +1,4 @@
 @echo off
-rem Working IDLE bat for Windows - uses start instead of absolute pathname
-start idle.pyw %1 %2 %3 %4 %5 %6 %7 %8 %9
+rem Start IDLE using the appropriate Python interpreter
+set CURRDIR=%~dp0
+start %CURRDIR%..\..\pythonw.exe %CURRDIR%idle.pyw %1 %2 %3 %4 %5 %6 %7 %8 %9