[Python-checkins] r86653 - in python/branches/release27-maint: Lib/idlelib/idle.bat Misc/NEWS
brian.curtin
python-checkins at python.org
Mon Nov 22 00:50:51 CET 2010
Author: brian.curtin
Date: Mon Nov 22 00:50:51 2010
New Revision: 86653
Log:
Merged revisions 86651 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86651 | brian.curtin | 2010-11-21 17:45:10 -0600 (Sun, 21 Nov 2010) | 5 lines
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.
........
Modified:
python/branches/release27-maint/ (props changed)
python/branches/release27-maint/Lib/idlelib/idle.bat
python/branches/release27-maint/Misc/NEWS
Modified: python/branches/release27-maint/Lib/idlelib/idle.bat
==============================================================================
--- python/branches/release27-maint/Lib/idlelib/idle.bat (original)
+++ python/branches/release27-maint/Lib/idlelib/idle.bat Mon Nov 22 00:50:51 2010
@@ -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
Modified: python/branches/release27-maint/Misc/NEWS
==============================================================================
--- python/branches/release27-maint/Misc/NEWS (original)
+++ python/branches/release27-maint/Misc/NEWS Mon Nov 22 00:50:51 2010
@@ -13,6 +13,9 @@
Library
-------
+- Issue #6378: idle.bat now runs with the appropriate Python version rather than
+ the system default. Patch by Sridhar Ratnakumar.
+
- Issue #10407: Fix one NameError in distutils.
- Issue #10198: fix duplicate header written to wave files when writeframes()
More information about the Python-checkins
mailing list