• Ronald Oussoren's avatar
    Merged revisions 77031 via svnmerge from · 6f6c5624
    Ronald Oussoren yazdı
    svn+ssh://pythondev@svn.python.org/python/trunk
    
    ........
      r77031 | ronald.oussoren | 2009-12-24 14:30:58 +0100 (Thu, 24 Dec 2009) | 15 lines
    
      Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX.
    
      The previous implementation used execv(2) to run the real interpreter, which means that
      you cannot use the arch(1) tool to select the architecture you want to use for a
      universal build because that only affects the python/pythonw wrapper and not the actual
      interpreter.
    
      The new version uses posix_spawnv with a number of OSX-specific options that ensure that
      the real interpreter is started using the same CPU architecture as the wrapper, and that
      means that 'arch -ppc python' now actually works.
    
      I've also changed the way that the wrapper looks for the framework: it is now linked to
      the framework rather than hardcoding the framework path. This should make it easier to
      provide pythonw support in tools like virtualenv.
    ........
    6f6c5624
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...