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

kbk at users.sourceforge.net kbk at users.sourceforge.net
Thu Aug 14 09:15:08 EDT 2003


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

Modified Files:
      Tag: release23-maint
	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



Index: NEWS.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/NEWS.txt,v
retrieving revision 1.23
retrieving revision 1.23.4.1
diff -C2 -d -r1.23 -r1.23.4.1
*** NEWS.txt	27 Jul 2003 03:24:18 -0000	1.23
--- NEWS.txt	14 Aug 2003 15:15:02 -0000	1.23.4.1
***************
*** 1,2 ****
--- 1,13 ----
+ What's New in IDLE 1.0.1?
+ ===================================
+ 
+ *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.81.4.1
diff -C2 -d -r1.81 -r1.81.4.1
*** PyShell.py	27 Jul 2003 03:24:18 -0000	1.81
--- PyShell.py	14 Aug 2003 15:15:02 -0000	1.81.4.1
***************
*** 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 == '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 Python-checkins mailing list