Index: Mac/PythonLauncher/Makefile.in =================================================================== --- Mac/PythonLauncher/Makefile.in (revision 57912) +++ Mac/PythonLauncher/Makefile.in (working copy) @@ -78,4 +78,4 @@ $(CC) $(LDFLAGS) -o "Python Launcher" $(OBJECTS) -framework AppKit -framework Carbon Info.plist: $(srcdir)/Info.plist.in - sed 's/%VERSION%/'"`$(RUNSHARED) $(BUILDPYTHON) -c 'import platform; print platform.python_version()'`"'/g' < $(srcdir)/Info.plist.in > Info.plist + sed 's/%VERSION%/'"`$(RUNSHARED) $(BUILDPYTHON) -c 'import platform; print(platform.python_version())'`"'/g' < $(srcdir)/Info.plist.in > Info.plist Index: Mac/IDLE/Makefile.in =================================================================== --- Mac/IDLE/Makefile.in (revision 57912) +++ Mac/IDLE/Makefile.in (working copy) @@ -55,5 +55,5 @@ Info.plist: $(srcdir)/Info.plist.in - sed 's/%VERSION%/'"`$(RUNSHARED) $(BUILDPYTHON) -c 'import platform; print platform.python_version()'`"'/g' < $(srcdir)/Info.plist.in > Info.plist + sed 's/%VERSION%/'"`$(RUNSHARED) $(BUILDPYTHON) -c 'import platform; print(platform.python_version())'`"'/g' < $(srcdir)/Info.plist.in > Info.plist Index: Mac/Tools/fixapplepython23.py =================================================================== --- Mac/Tools/fixapplepython23.py (revision 57912) +++ Mac/Tools/fixapplepython23.py (working copy) @@ -80,11 +80,11 @@ """Create a wrapper script for a compiler""" dirname = os.path.split(filename)[0] if not os.access(dirname, os.X_OK): - os.mkdir(dirname, 0755) + os.mkdir(dirname, 0o755) fp = open(filename, 'w') fp.write(SCRIPT % compiler) fp.close() - os.chmod(filename, 0755) + os.chmod(filename, 0o755) print('fixapplepython23: Created', filename) def main():