276 Commits

Author SHA1 Message Date
Serhiy Storchaka
e0ed2d75c8 Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them.  Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
2014-01-16 18:59:17 +02:00
Ezio Melotti
24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
Ronald Oussoren
27c72e9e5c Fix for issue8868: without this patch 'MacOS.WMAvailable()' will return
False on MacOSX 10.5 or earlier and scripts won't be able to access GUI
functionality.
2010-06-02 03:47:14 +00:00
Antoine Pitrou
c83ea137d7 Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
Ronald Oussoren
7591285fc3 This check-in fixes two problems:
1) A non-critical off-by-one error in pythonw

2) A problem in the configure script that caused
   builds with '--enable-framework --enable-universalsdk=/'
   to fail on OSX 10.6.
2010-04-08 08:13:31 +00:00
Benjamin Peterson
9cf41d0c9d normalize shebang lines to #!/usr/bin/env python 2010-03-11 22:33:25 +00:00
Ronald Oussoren
2a4ab81633 Fix for issue #7998: pythonw didn't work when --with-framework-name was
specified
2010-03-07 09:04:06 +00:00
Ronald Oussoren
a55af9a9db - Issue #7658: Ensure that the new pythonw executable works on OSX 10.4
- Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on
  MacOSX.

- Make configure look for util.h as well as libutil.h. The former
  is the header file that on OSX contains the defition of openpty.

  (Needed to compile for OSX 10.4 on OSX 10.6)

- Use the correct definition of CC to compile the pythonw executable
2010-01-17 16:25:57 +00:00
Ronald Oussoren
92919a66d2 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.
2009-12-24 13:30:58 +00:00
Ronald Oussoren
364b22183c Remove some old MacPython files that are no longer relevant. 2009-05-19 20:12:17 +00:00
Benjamin Peterson
5b63acd31e #2503 make singletons compared with "is" not == or !=
Thanks to Wummel for the patch
2008-03-29 15:24:25 +00:00
Ronald Oussoren
3564c4622f Port of revision 51902 in release25-maint to the trunk 2006-09-17 18:42:53 +00:00
Ronald Oussoren
c55555400e - Change fixapplepython23.py to ensure that it will run with /usr/bin/python
on intel macs.
- Fix some minor problems in the installer for OSX
2006-06-11 20:24:45 +00:00
Ronald Oussoren
8ec9f866c0 Move Mac/OSX/Tools one level up 2006-06-07 18:57:44 +00:00
Neal Norwitz
a4136e14b9 Remove Mac OS 9 support (http://mail.python.org/pipermail/python-dev/2006-June/065538.html) 2006-06-03 04:49:00 +00:00
Fred Drake
db390c1ad8 fix typos, mostly in comments 2005-10-28 14:39:47 +00:00
Georg Brandl
7eb4b7d177 Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
Jack Jansen
5a3c7c39db Oops, there was a tab in there. 2005-01-07 12:56:21 +00:00
Jack Jansen
30620ac641 Workaround for the fact that urllib2 doesn't default to "file:" urls. 2005-01-07 12:50:12 +00:00
Jack Jansen
de2ecb8466 Updated version numbers. 2004-12-27 15:53:20 +00:00
Tim Peters
182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Jack Jansen
ad1654e03a After more than two years of puzzlement Jurjen Bos found the reason for
the double-scroll problem: when you pass a tracker function to TrackControl
you shouldn't call your hit function again afterwards. Fixes #711989.
2004-07-15 22:08:33 +00:00
Jack Jansen
4f9013759b - Added a note about fixversions.py
- Ran it.
2004-07-15 21:30:41 +00:00
Jack Jansen
0701bd64aa Fix for #860242: use correct names in the "save preferences" dialog. 2004-06-03 21:55:46 +00:00
Jack Jansen
30184f3611 - Fix for #862941: "run with commandline python" crashed. Fixed.
- Prefer to use pythonw (if it exists) for "run with commandline python".
2004-06-03 21:27:15 +00:00