| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
longer applicable in hg. Patch Contributed by Neil Muller.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process
on OS X. This could cause failures in non-distutils subprocesses and was
unreliable since tests or user programs could modify the interpreter
environment after distutils set it. Instead, have distutils set the
the deployment target only in the environment of each build subprocess.
Continue to use the previous algorithm for deriving the deployment target
value:
if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env:
use the interpreter build configure MACOSX_DEPLOYMENT_TARGET
elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value:
use the env MACOSX_DEPLOYMENT_TARGET
else: # env value less than interpreter build configure value
raise exception
This allows building extensions that can only run on newer versions of
the OS than the version python was built for, for example with a python
built for 10.3 or later and an extension that needs to be built for 10.5.
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73147 | tarek.ziade | 2009-06-02 17:58:43 +0200 (Tue, 02 Jun 2009) | 1 line
improved distutils.spawn test coverage + cleaned it up
........
|
| |
|
| |
|
|
|
|
|
| |
* all calls to functions in the string module (except maketrans)
* everything from stropmodule except for maketrans() which is still used
|
|
|
|
|
|
|
|
|
| |
There's one major and one minor category still unfixed:
doctests are the major category (and I hope to be able to augment the
refactoring tool to refactor bona fide doctests soon);
other code generating print statements in strings is the minor category.
(Oh, and I don't know if the compiler package works.)
|
|
|
|
|
|
| |
(a) "except E, V" -> "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
|
| |
|
| |
|
|
|
|
|
| |
by SIGCHLD or sth because no signal is masked before. This fixes
an optimized installation problem on FreeBSD libpthread.
|
| |
|
|
|
|
| |
suggested by PEP 291.
|
|
|
|
| |
is often out of date
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a conservative version of SF patch 504889. It uses the log
module instead of calling print in various places, and it ignores the
verbose argument passed to many functions and set as an attribute on
some objects. Instead, it uses the verbosity set on the logger via
the command line.
The log module is now preferred over announce() and warn() methods
that exist only for backwards compatibility.
XXX This checkin changes a lot of modules that have no test suite and
aren't exercised by the Python build process. It will need
substantial testing.
|
|
|
|
| |
Closes patch #435381.
|
| |
|
|
|
|
| |
Standardize whitespace in function calls.
|
| |
|
|
|
|
| |
rather than None.
|
|
|
|
| |
returns a value.
|
|
|
|
| |
in a rather half-assed, but probably effective, way.
|
| |
|
|
|
|
| |
Tweaked error messages in '_spawn_posix()'.
|
|
|
|
|
| |
Apparently os.name is "nt" or "posix" or we don't care.
Cosmetic tweaks.
|
| |
|
|
Initial revision only includes support for POSIX-style fork-and-exec.
|