[Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.23, 1.24 PyShell.py, 1.81, 1.82

kbk at users.sourceforge.net kbk at users.sourceforge.net
Thu Aug 14 08:54:30 EDT 2003


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1:/tmp/cvs-serv30724

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

Backported to 2.2-maint



Index: NEWS.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/NEWS.txt,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** NEWS.txt	27 Jul 2003 03:24:18 -0000	1.23
--- NEWS.txt	14 Aug 2003 14:54:28 -0000	1.24
***************
*** 1,2 ****
--- 1,14 ----
+ What's New in IDLE 1.0+?
+ ===================================
+ 
+ *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.
+ 
+ 
  What's New in IDLE 1.0?
  ===================================

Index: PyShell.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/PyShell.py,v
retrieving revision 1.81
retrieving revision 1.82
diff -C2 -d -r1.81 -r1.82
*** PyShell.py	27 Jul 2003 03:24:18 -0000	1.81
--- PyShell.py	14 Aug 2003 14:54:28 -0000	1.82
***************
*** 319,323 ****
      def spawn_subprocess(self):
          args = self.subprocess_arglist
!         self.rpcpid = os.spawnv(os.P_NOWAIT, args[0], args)
  
      def build_subprocess_arglist(self):
--- 319,323 ----
      def spawn_subprocess(self):
          args = self.subprocess_arglist
!         self.rpcpid = os.spawnv(os.P_NOWAIT, sys.executable, args)
  
      def build_subprocess_arglist(self):
***************
*** 332,336 ****
          else:
              command = "__import__('run').main(" + `del_exitf` + ")"
!         return [sys.executable] + w + ["-c", command, str(self.port)]
  
      def start_subprocess(self):
--- 332,341 ----
          else:
              command = "__import__('run').main(" + `del_exitf` + ")"
!         if sys.platform[:3] == 'win' 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 Python-checkins mailing list