summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/spawn.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23285: PEP 475 -- Retry system calls failing with EINTR.Charles-François Natali2015-02-071-3/+0
|
* Issue #20978: Remove last part of OS/2 support in distutilsVictor Stinner2014-03-201-2/+0
|
* Merge 3.3 (#11599)Éric Araujo2014-03-131-15/+40
|\
| * Make distutils error messages more helpful (#11599).Éric Araujo2014-03-131-18/+45
| | | | | | | | | | | | | | | | | | | | When running external programs such as a C compiler and getting an error code, distutils only prints the program name. With this change, one can get the full command line by setting the DISTUTILS_DEBUG environment variable. This should have no compatibility issues, unless there are tools that depend on the exact format of distutils debug messages.
* | Closes #16135: Removal of OS/2 support (distutils)Jesus Cea2012-10-101-23/+1
|/
* Fix closes Issue11439 Remove the SVN keywords from the code as it is no ↵Senthil Kumaran2011-07-281-2/+0
| | | | longer applicable in hg. Patch Contributed by Neil Muller.
* Issue #9516: Change distutils to no longer globally attempt to check andNed Deily2011-06-291-1/+28
| | | | | | | | | | | | | | | | | | | | 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.
* Merged revisions 73147 via svnmerge fromTarek Ziadé2009-06-021-23/+24
| | | | | | | | | | 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 ........
* Fix more exception slicing.Georg Brandl2008-01-061-3/+3
|
* General cleanup, raise normalization in Lib/distutils.Collin Winter2007-08-301-64/+31
|
* Remove functions in string module that are also string methods. Also remove:Neal Norwitz2007-04-171-6/+6
| | | | | * all calls to functions in the string module (except maketrans) * everything from stropmodule except for maketrans() which is still used
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-1/+1
| | | | | | | | | 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.)
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-4/+4
| | | | | | (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
* Update compatibility comments to 2.1, corresponding to PEP 291 1.13.Martin v. Löwis2004-11-101-1/+1
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-1/+1
|
* Make _spawn_posix be ready for EINTR. waitpid(2) can be interruptedHye-Shik Chang2004-02-241-1/+8
| | | | | by SIGCHLD or sth because no signal is masked before. This fixes an optimized installation problem on FreeBSD libpthread.
* Reflow commentAndrew M. Kuchling2002-11-211-3/+3
|
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-191-0/+2
| | | | suggested by PEP 291.
* Remove 'created by' lines; people can use CVS for this, and the information ↵Andrew M. Kuchling2002-11-141-2/+0
| | | | is often out of date
* Make setup.py less chatty by default.Jeremy Hylton2002-06-041-12/+8
| | | | | | | | | | | | | | | 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.
* OS/2 patches by Andrew I MacIntyre for distutils.Marc-André Lemburg2002-01-311-1/+30
| | | | Closes patch #435381.
* Whitespace normalization.Fred Drake2001-12-061-6/+6
|
* Reformat docstrings.Greg Ward2000-09-261-38/+41
| | | | Standardize whitespace in function calls.
* Rene Liebscher: factor 'find_executable()' out of '_spawn_nt()'.Greg Ward2000-08-021-13/+30
|
* Duh, it helps if '_nt_quote_args()' actually returns the mutated list,Greg Ward2000-03-261-1/+1
| | | | rather than None.
* Fixed '_nt_quote_args()': backwards logic reversed, and now it actuallyGreg Ward2000-03-231-2/+2
| | | | returns a value.
* Added '_nt_quote_args()' to deal with whitespace in command-line argumentsGreg Ward2000-03-071-5/+22
| | | | in a rather half-assed, but probably effective, way.
* Changed '__rcsid__' to '__revision__'.Greg Ward2000-03-021-1/+1
|
* Catch OSError from 'spawnv()' in '_spawn_nt()'.Greg Ward2000-01-171-5/+12
| | | | Tweaked error messages in '_spawn_posix()'.
* [from 1999/08/28]Greg Ward1999-09-081-2/+2
| | | | | Apparently os.name is "nt" or "posix" or we don't care. Cosmetic tweaks.
* Patch from Perry Stoll: support for Windows.Greg Ward1999-08-291-10/+29
|
* Module to spawn sub-commands in a platform-independent way.Greg Ward1999-08-141-0/+106
Initial revision only includes support for POSIX-style fork-and-exec.