Fix #6378. Start IDLE using the proper version of Python based on the directory

tree that idle.bat resides in.

Works with any/all versions of Python installed concurrently.
This commit is contained in:
Brian Curtin 2010-11-21 23:45:10 +00:00
parent 0ef956f997
commit f991642efe
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,4 @@
@echo off @echo off
rem Working IDLE bat for Windows - uses start instead of absolute pathname rem Start IDLE using the appropriate Python interpreter
start idle.pyw %1 %2 %3 %4 %5 %6 %7 %8 %9 set CURRDIR=%~dp0
start %CURRDIR%..\..\pythonw.exe %CURRDIR%idle.pyw %1 %2 %3 %4 %5 %6 %7 %8 %9

View File

@ -32,6 +32,9 @@ Core and Builtins
Library Library
------- -------
- Issue #6378: idle.bat now runs with the appropriate Python version rather than
the system default. Patch by Sridhar Ratnakumar.
- Issue #10470: 'python -m unittest' will now run test discovery by default, - Issue #10470: 'python -m unittest' will now run test discovery by default,
when no extra arguments have been provided. when no extra arguments have been provided.