- 25 Jan, 2001 1 commit
-
-
Jeremy Hylton authored
prevent binding for str from masking use of builtin str in nested function. (This is the only case I found in the standard library where a local shadows a global or builtin. There may be others, but the regression test doesn't catch them.)
-
- 24 Jan, 2001 2 commits
-
-
Neil Schemenauer authored
-
Andrew M. Kuchling authored
Lib/distutils/command/build_ext.py(build_ext.finalize_options): Add Cygwin specific code to append Python's library directory to the extension's list of library directories. (build_ext.get_libraries): Add Cygwin specific code to append Python's (import) library to the extension's list of libraries.
-
- 19 Jan, 2001 1 commit
-
-
Andrew M. Kuchling authored
This patch adds support for Cygwin to util.get_platform(). A Cygwin specific case is needed due to the format of Cygwin's uname command, which contains '/' characters.
-
- 17 Jan, 2001 1 commit
-
-
Andrew M. Kuchling authored
sys.prefix + 'config/Makefile'. When building Python for the first time, these files aren't there, so the files from the build tree have to be used instead; this file adds an entry point for specifying that the build tree files should be used. (Perhaps 'set_python_build' should should be preceded with an underscore?)
-
- 16 Jan, 2001 3 commits
-
-
Andrew M. Kuchling authored
for done[n] can be integers as well as strings, but the code concatenates them with strings (fixed by adding a str()) and calls string.strip() on them (fixed by rearranging the logic) (Presumably this wasn't noticed previously because parse_makefile() was only called on Modules/Makefile, which contains no integer-valued variables.)
-
Andrew M. Kuchling authored
produce a list of unique filenames: "While attempting to build an RPM using distutils on Python 2.0, rpm complained about duplicate files. The following patch fixed that problem.
-
Andrew M. Kuchling authored
prevent creating files such as build/lib.whatever/Modules/foo.o when given a source filename such as Modules/foo.c.
-
- 15 Jan, 2001 1 commit
-
-
Andrew M. Kuchling authored
to the Distutils-SIG and archived at http://mail.python.org/pipermail/distutils-sig/2000-November/001755.html
-
- 11 Jan, 2001 1 commit
-
-
Andrew M. Kuchling authored
-
- 09 Jan, 2001 1 commit
-
-
Andrew M. Kuchling authored
os.pathsep
-
- 20 Dec, 2000 1 commit
-
-
Andrew M. Kuchling authored
DISTUTILS_DEBUG set"
-
- 12 Dec, 2000 1 commit
-
-
Fred Drake authored
Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
-
- 11 Nov, 2000 1 commit
-
-
Greg Ward authored
use it to generate a dialog for users to specify the command-line (because providing a command-line with MacPython is so awkward).
-
- 15 Oct, 2000 1 commit
-
-
Greg Ward authored
-
- 14 Oct, 2000 5 commits
- 12 Oct, 2000 1 commit
-
-
Thomas Heller authored
This should close SF bug (patch) http://sourceforge.net/patch/?func=detailpatch&patch_id=101844&group_id=5470
-
- 03 Oct, 2000 4 commits
-
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
about how it would be nice to write absolute paths to the temporary byte-compilation script, but this doesn't work because it screws up the trailing-slash trickery done to 'prefix' in build_py's 'byte_compile()' method. Fixed to use 'execute()' instead of 'os.remove()' to remove the temporary script: now it doesn't blow up in dry-run mode!
-
- 02 Oct, 2000 5 commits
-
-
Greg Ward authored
-
Greg Ward authored
by default (since compiling at install time works just fine). Details: - added 'compile' and 'optimize' options - added 'byte_compile()' method - changed 'get_outputs()' so it includes bytecode files A lot of the code added is very similar to code in install_lib.py; would be nice to factor it out further.
-
Greg Ward authored
instruct the "install_lib" command from the command-line.
-
Greg Ward authored
choice between (compile, no-compile) * (optimize=0, optimize=1, optimize=2). Details: - added --no-compile option to complement --compile, which has been there for ages - changed --optimize (which never worked) to a value option, which expects 0, 1, or 2 - renamed 'bytecompile()' method to 'byte_compile()', and beefed it up to handle both 'compile' and 'optimize' options - fix '_bytecode_filenames()' to respect the new options
-
Greg Ward authored
-
- 01 Oct, 2000 2 commits
- 30 Sep, 2000 8 commits
-
-
Greg Ward authored
'util.byte_compile()'. Currently just reproduces the existing functionality -- doesn't use any of the fancy features in the new 'byte_compile()'.
-
Greg Ward authored
standard 'py_compile.compile()' function. Laundry list of features: - handles standard Distutils 'force', 'verbose', 'dry_run' flags - handles various levels of optimization: can compile directly in this interpreter process, or write a temporary script that is then executed by a new interpreter with the appropriate flags - can rewrite the source filename by stripping an optional prefix and preprending an optional base dir.
-
Greg Ward authored
Fixed 'subst_vars()' so it actually blows up like the docstring claims (and fixed the docstring not to claim it handles ${var}, which it doesn't).
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
absolute pathnames; this lets it keep working in the face of chdir'ing around.
-
Greg Ward authored
-
Greg Ward authored
-