- 30 Mar, 2000 7 commits
-
-
Andrew M. Kuchling authored
(Needs testing on Win32.)
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Greg Ward authored
-
Guido van Rossum authored
light of three different situations: (1) running from build; (2) running from installed; (3) running without being able to find an installation (e.g. as a COM object). The system paths in the repository are only used for (3); the path deduced from the installation location are used otherwise. PYTHONHOME overrides in all cases. Read the comments for more details.
-
Guido van Rossum authored
name is much longer, which fouls up dis's formatting slightly; this is a "fix" for that.
-
Guido van Rossum authored
script pointed to by PYTHONPATH will be executed on startup. That should say PYTHONSTARTUP.
-
- 29 Mar, 2000 29 commits
-
-
Fred Drake authored
Martinez Foffani <hfoffani@sofrecom.com.ar>.
-
Barry Warsaw authored
device info. I don't know why these occur, but they seem to be shortlived and harmless.
-
Barry Warsaw authored
PyErr_Occurred(), just set x=NULL and break. Oh, and make Jeremy stop nagging me about the "special" indentation for this block.
-
Barry Warsaw authored
the return value of PySequence_Length(). If an exception occurred, the returned length will be -1. Make sure this doesn't get obscurred, and that the bogus length isn't used.
-
Guido van Rossum authored
If you do a "cvs update" in the Lib directory, it will pop up there.
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
use global __debug__ flag to determine if compiled files will be ".pyc" or ".pyo". Tweaked compilation output messages too.
-
Greg Ward authored
might have been copied, regardless of the 'update' flag.
-
Greg Ward authored
Made handling OSError in 'mkpath()' more standard.
-
Greg Ward authored
make 'mkdir()' return list of directories created.
-
Greg Ward authored
for the 'bdist_dumb' command. Adapted, with tweakage, from the 'sdist' command.
-
Greg Ward authored
in preparation for the 'bdist_dumb' command; these methods remain as trivial wrappers around the versions in distutils.util.
-
Greg Ward authored
'has_ext_modules()', 'has_c_libraries()', 'has_modules()', and 'is_pure()'.
-
Greg Ward authored
-
Greg Ward authored
is responsible for installing all Python modules (pure and extensions). Added 'get_outputs()' in preparation for the 'bdist' command, and '_mutate_outputs()' to support 'get_outputs()'.
-
Greg Ward authored
in a class attribute 'sub_commands', rather than hard-coded in 'run()'. This should make it easier to subclass 'install', and also makes it easier to keep 'run()' and the new 'get_outputs()' consistent. Added 'get_outputs()' in preparation for the 'bdist' command.
-
Greg Ward authored
methods of Distribution instead of grovelling directly in self.distribution.
-
Greg Ward authored
Changed signature of 'build_extensions()': no longer takes the extension list, but uses 'self.extensions' (just like 'get_outputs()' has to) Moved call to 'check_extensions_list()' from 'run()' to 'build_extensions()', again for consistency with 'get_outputs()'.
-
Greg Ward authored
A host of improvements in preparation for the 'bdist' command: - added 'get_outputs()' method (all the other improvements were to support this addition) - made 'find_package_modules()' and 'find_modules()' return similar values (list of (package, module, module_filename) tuples) - factored 'find_all_modules()' out of 'get_source_files()' (needed by 'get_outputs()') - factored 'get_module_outfile()' out of 'build_module()' (also needed by 'get_outputs()') - various little tweaks, improvements, comment/doc updates
-
Guido van Rossum authored
Also, _tkinter is linked with Tcl 8.3.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
running out of the build directory. This means that it will no longer try to use an older version of the library when an older version has been installed.
-
Guido van Rossum authored
me half an hour to find why it was still linking with python15.dll!)
-
Guido van Rossum authored
-
Guido van Rossum authored
This was originally submitted by Martin von Loewis as part of his Unicode patch; all I did was add special cases for Python int and float objects and rearrange the object type tests somewhat to speed up the common cases (string, int, float, tuple, unicode, object).
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 28 Mar, 2000 4 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
executive summary: Instead of typing 'apply(f, args, kwargs)' you can type 'f(*arg, **kwargs)'. Some file-by-file details follow. Grammar/Grammar: simplify varargslist, replacing '*' '*' with '**' add * & ** options to arglist Include/opcode.h & Lib/dis.py: define three new opcodes CALL_FUNCTION_VAR CALL_FUNCTION_KW CALL_FUNCTION_VAR_KW Python/ceval.c: extend TypeError "keyword parameter redefined" message to include the name of the offending keyword reindent CALL_FUNCTION using four spaces add handling of sequences and dictionaries using extend calls fix function import_from to use PyErr_Format
-
Guido van Rossum authored
This fixes a bunch of socket.connect(host, post) calls. Note that I haven't tested all modules -- I don't have enough servers here...
-