[Python-checkins] python/dist/src/Lib os.py,1.75,1.76

aimacintyre at users.sourceforge.net aimacintyre at users.sourceforge.net
Sun Apr 4 03:11:46 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31542

Modified Files:
	os.py 
Log Message:
OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied
with major C compilers (VACPP, EMX+gcc and [Open]Watcom).

Also tidy up the export of spawn*() symbols in the os module to match what
is found/implemented.


Index: os.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/os.py,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** os.py	4 Mar 2004 08:25:44 -0000	1.75
--- os.py	4 Apr 2004 07:11:43 -0000	1.76
***************
*** 574,577 ****
--- 574,581 ----
          return spawnve(mode, file, args[:-1], env)
  
+ 
+     __all__.extend(["spawnv", "spawnve", "spawnl", "spawnle",])
+ 
+ 
  if _exists("spawnvp"):
      # At the moment, Windows doesn't implement spawnvp[e],
***************
*** 599,604 ****
  
  
!     __all__.extend(["spawnlp","spawnlpe","spawnv", "spawnve","spawnvp",
!                     "spawnvpe","spawnl","spawnle",])
  
  
--- 603,607 ----
  
  
!     __all__.extend(["spawnvp", "spawnvpe", "spawnlp", "spawnlpe",])
  
  




More information about the Python-checkins mailing list