Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Mac/IDLE/idlemain.py

    r2 r391  
    4949# exported in PYTHONEXECUTABLE.
    5050pyex = os.environ['PYTHONEXECUTABLE']
    51 sys.executable = os.path.join(os.path.dirname(pyex), os.readlink(pyex))
     51sys.executable = os.path.join(sys.prefix, 'bin', 'python%d.%d'%(sys.version_info[:2]))
    5252
    5353# Remove any sys.path entries for the Resources dir in the IDLE.app bundle.
     
    6969
    7070# Now it is safe to import idlelib.
     71from idlelib import macosxSupport
     72macosxSupport._appbundle = True
    7173from idlelib.PyShell import main
    7274if __name__ == '__main__':
Note: See TracChangeset for help on using the changeset viewer.