[Idle-dev] CVS: idle NEWS.txt,1.22,1.23 PyShell.py,1.77,1.78
Kurt B. Kaiser
kbk at users.sourceforge.net
Sat Aug 9 22:05:40 EDT 2003
Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv2236
Modified Files:
NEWS.txt PyShell.py
Log Message:
- IDLE didn't start correctly when Python was installed in "Program Files"
on W2K and XP. Python Bugs 780451, 784183
M NEWS.txt
M PyShell.py
Index: NEWS.txt
===================================================================
RCS file: /cvsroot/idlefork/idle/NEWS.txt,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** NEWS.txt 23 Jul 2003 17:05:50 -0000 1.22
--- NEWS.txt 10 Aug 2003 04:05:37 -0000 1.23
***************
*** 8,11 ****
--- 8,17 ----
*Release date: XX-XXX-2003*
+ - IDLE didn't start correctly when Python was installed in "Program Files"
+ on W2K and XP. Python Bugs 780451, 784183
+
+ - config-main.def documentation incorrectly referred to idle- instead of
+ config- filenames. SF 782759 Also added note about .idlerc location.
+
- Calltip Trimming can error (2.2) or hang (2.3). Python Bug 769142 Daniels
Index: PyShell.py
===================================================================
RCS file: /cvsroot/idlefork/idle/PyShell.py,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -r1.77 -r1.78
*** PyShell.py 10 Jul 2003 04:02:14 -0000 1.77
--- PyShell.py 10 Aug 2003 04:05:37 -0000 1.78
***************
*** 322,326 ****
def spawn_subprocess(self):
args = self.subprocess_arglist
! self.rpcpid = os.spawnv(os.P_NOWAIT, args[0], args)
def build_subprocess_arglist(self):
--- 322,326 ----
def spawn_subprocess(self):
args = self.subprocess_arglist
! self.rpcpid = os.spawnv(os.P_NOWAIT, sys.executable, args)
def build_subprocess_arglist(self):
***************
*** 335,339 ****
else:
command = "__import__('run').main(" + `del_exitf` + ")"
! return [sys.executable] + w + ["-c", command, str(self.port)]
def start_subprocess(self):
--- 335,344 ----
else:
command = "__import__('run').main(" + `del_exitf` + ")"
! if sys.platform == 'win32' and ' ' in sys.executable:
! # handle embedded space in path by quoting the argument
! decorated_exec = '"%s"' % sys.executable
! else:
! decorated_exec = sys.executable
! return [decorated_exec] + w + ["-c", command, str(self.port)]
def start_subprocess(self):
More information about the IDLE-dev
mailing list