Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplified doc string. | Greg Ward | 2000-03-18 | 1 | -11/+2 |
| | | | | Added 'clean' to list of commands. | ||||
* | Oops! Don't call 'ensure_ready()' in 'Distribution.find_command_obj()' -- | Greg Ward | 2000-03-18 | 1 | -2/+3 |
| | | | | | | that broke parsing command-line options. Instead call it in 'Command.find_peer()', which is why I added it to 'find_command_obj()' in the first place. | ||||
* | Tweaked all over: | Greg Ward | 2000-03-18 | 1 | -9/+29 |
| | | | | | | | | * improve help strings * warn if user supplies non-existing directories * don't try to 'remove_tree()' non-existing directories * try to remove the build_base after cleanup (but don't do or say anything if it fails -- this is just in case we made it empty) | ||||
* | Patch from Bastian Kleineidam <calvin@cs.uni-sb.de>: | Greg Ward | 2000-03-18 | 1 | -16/+2 |
| | | | | use 'util.remove_tree()' instead of 'nuke_release_tree()'. | ||||
* | Patch from Bastian Kleineidam <calvin@cs.uni-sb.de>: added 'remove_tree()'. | Greg Ward | 2000-03-18 | 1 | -1/+20 |
| | |||||
* | Contribution from Bastian Kleineidam <calvin@cs.uni-sb.de>: | Greg Ward | 2000-03-18 | 1 | -0/+44 |
| | | | | the Distutils 'clean' command. | ||||
* | In 'finalize_options()': if 'self.libs' is a string, make it a singleton list. | Greg Ward | 2000-03-18 | 1 | -0/+3 |
| | |||||
* | Changed to pay attention to the 'runtime_library_dirs' list (= 'rpath' | Greg Ward | 2000-03-18 | 3 | -4/+20 |
| | | | | | | | | | | option in the 'build_ext' command): * in ccompiler.py: 'gen_lib_options()' now takes 'runtime_library_dirs' parameter * in unixccompiler.py and msvccompiler.py: now pass 'self.runtime_library_dirs' to 'gen_lib_options()', and define 'runtime_library_dir_option()' (although in msvccompiler.py it blows up with a DistutilsPlatformError right now!) | ||||
* | Oops, another in the same file; I should read the mail fully before | Fred Drake | 2000-03-17 | 1 | -1/+1 |
| | | | | | | | checking in; sorry! "the the" --> "the" (in docstring); noted by Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>. | ||||
* | "intput" --> "input" (in docstring); noted by Detlef Lannert | Fred Drake | 2000-03-17 | 1 | -1/+1 |
| | | | | <lannert@lannert.rz.uni-duesseldorf.de>. | ||||
* | complete rewrite | Jeremy Hylton | 2000-03-16 | 2 | -800/+831 |
| | | | | | | | | | code generator uses flowgraph as intermediate representation. the old rep uses a list with explicit "StackRefs" to indicate the target of jumps. pyassem converts flowgraph to bytecode, breaks up individual steps of generating bytecode | ||||
* | simplify visitor walker class | Jeremy Hylton | 2000-03-16 | 1 | -32/+22 |
| | | | | | | - remove postorder - remove protocol for automatically walking children based on visitor method return value; now only walks if there is no method | ||||
* | fix list.append problems | Jeremy Hylton | 2000-03-16 | 1 | -3/+3 |
| | |||||
* | change name of Set method: items -> elements (avoids confusion with | Jeremy Hylton | 2000-03-16 | 1 | -1/+1 |
| | | | | dict) | ||||
* | Marc-Andre Lemburg: Add tests for mixed use of char in string. | Guido van Rossum | 2000-03-13 | 1 | -0/+13 |
| | |||||
* | Marc-Andre Lemburg: test script for Unicode implementation. | Guido van Rossum | 2000-03-10 | 3 | -10/+338 |
| | |||||
* | Marc-Andre Lemburg: the maxsplit argument for split() and replace() | Guido van Rossum | 2000-03-10 | 1 | -4/+4 |
| | | | | | now defaults to -1, not to 0. Passing an explicit zero doesn't split or replace at all. | ||||
* | Module codecs -- Python Codec Registry, API and helpers. Written by | Guido van Rossum | 2000-03-10 | 1 | -0/+414 |
| | | | | Marc-Andre Lemburg. | ||||
* | Marc-Andre Lemburg: support pickling Unicode objects, both in text | Guido van Rossum | 2000-03-10 | 1 | -0/+28 |
| | | | | mode ('V') and in binary mode ('X'). | ||||
* | Marc-Andre Lemburg: add UnicodeType. | Guido van Rossum | 2000-03-10 | 1 | -0/+1 |
| | |||||
* | Marc-Andre Lemburg: Unicode encodings. | Guido van Rossum | 2000-03-10 | 64 | -0/+8398 |
| | |||||
* | Marc-Andre Lemburg: Add UnicodeError, derived from ValueError. | Guido van Rossum | 2000-03-10 | 1 | -0/+7 |
| | |||||
* | Catch up with change to CCompiler API: call 'create_static_lib()', not | Greg Ward | 2000-03-10 | 1 | -3/+3 |
| | | | | 'link_static_lib()'. | ||||
* | Renamed 'link_static_lib() to 'create_static_lib()', and rewrote it create | Greg Ward | 2000-03-10 | 1 | -25/+15 |
| | | | | | a static library (using lib.exe as found by '__init__()', hopefully through registry entries pointing to DevStudio). | ||||
* | Renamed 'link_static_lib() to 'create_static_lib()'. | Greg Ward | 2000-03-10 | 2 | -18/+19 |
| | |||||
* | There are a few places which can raise DistutilsPlatformError; make | Fred Drake | 2000-03-09 | 1 | -41/+54 |
| | | | | | | | | | | | sure it's imported! ;) Re-wrap the docstrings on get_python_inc() and get_python_lib() to be closer to the "normal" Python style. See GvR's "style guide" on the essays page (http://www.python.org/doc/essays/). There should never be a space between a function name and the '(' that opens the argument list (see the style guide again). | ||||
* | Added Joe Van Andel's 'get_python_inc()', adapted by me to supply | Greg Ward | 2000-03-09 | 1 | -15/+80 |
| | | | | | | | | | the platform-neutral include dir by default and with Mac support. Added 'get_python_lib()', inspired by 'get_python_inc()'. Rewrote 'get_config_h_filename()' and 'get_makefile_filename()' in terms of 'get_python_inc()' and 'get_python_lib()'. Changed '_init_nt()' and '_init_mac()' to use 'get_python_inc()' and 'get_python_lib()' for directory names. | ||||
* | Add tests for char in string -- including required exceptions for | Guido van Rossum | 2000-03-07 | 1 | -0/+23 |
| | | | | non-char in string. | ||||
* | Sjoerd Mullender: | Guido van Rossum | 2000-03-07 | 1 | -1/+1 |
| | | | | | The (relatively) new chunk module uses seek, not setpos. One instance of the call still needed to be fixed. | ||||
* | Patch from Corran Webster <cwebster@nevada.edu> (tweaked for style by me): | Greg Ward | 2000-03-07 | 1 | -0/+11 |
| | | | | changed 'copy_file()' to use the native Mac file copy routine. | ||||
* | Patch from Corran Webster <cwebster@nevada.edu>: add '_init_mac()'. | Greg Ward | 2000-03-07 | 1 | -0/+22 |
| | |||||
* | Added 'native_path()' for use on pathnames from the setup script: split on | Greg Ward | 2000-03-07 | 1 | -0/+28 |
| | | | | slashes, and put back together again using the local directory separator. | ||||
* | Added '_nt_quote_args()' to deal with whitespace in command-line arguments | Greg Ward | 2000-03-07 | 1 | -5/+22 |
| | | | | in a rather half-assed, but probably effective, way. | ||||
* | test_contains output | Guido van Rossum | 2000-03-06 | 1 | -0/+1 |
| | |||||
* | Test cases for __contains__ code, by Moshe Zadka. | Guido van Rossum | 2000-03-06 | 1 | -0/+41 |
| | |||||
* | Sjoerd Mullender: | Guido van Rossum | 2000-03-06 | 1 | -15/+21 |
| | | | | | | | When you set a breakpoint on a function with a multi-line argument list, the breakpoint is actually set on the second line of the arguments instead of the first line of the body. This patch fixes that. | ||||
* | import compile function form pycodegen | Jeremy Hylton | 2000-03-06 | 1 | -0/+4 |
| | |||||
* | rename compile.py to pycodegen.py | Jeremy Hylton | 2000-03-06 | 1 | -176/+25 |
| | | | | | | | | | | fix imports remove parse functions and visitor code track name change: Classdef to Class add some comments and tweak order of visitXXX methods get rid of if __name__ == "__main__ section | ||||
* | add a doc string | Jeremy Hylton | 2000-03-06 | 1 | -0/+20 |
| | | | | import some useful functions from contained modules | ||||
* | fix import to refer to compiler package | Jeremy Hylton | 2000-03-06 | 1 | -1/+1 |
| | |||||
* | revise arguments for addCode method on lnotab. take several numbers | Jeremy Hylton | 2000-03-06 | 1 | -10/+13 |
| | | | | that are internally converted to chars, rather than taking a string. | ||||
* | change node Classdef to Class | Jeremy Hylton | 2000-03-06 | 2 | -24/+25 |
| | | | | | | | add doc string to transformer module add two helper functions: parse(buf) -> AST parseFile(path) -> AST | ||||
* | factor out the tree walking/visitor code that was in compile.py | Jeremy Hylton | 2000-03-06 | 1 | -0/+127 |
| | |||||
* | Rewrote 'newer_pairwise(): more natural (and incompatible) interface, | Greg Ward | 2000-03-06 | 1 | -12/+13 |
| | | | | simpler implementation. | ||||
* | Serious overhaul of the C compiler interface and the two classes that | Greg Ward | 2000-03-06 | 3 | -362/+400 |
| | | | | | | | | | | | | implement it (so far): * moved filename generation methods into CCompiler base class, driven by data supplied by implementation classes * moved a bunch of common code from UnixCCompiler to convenience methods in CCompiler * overhauled MSVCCompiler's compile/link methods to look and act as much as possible like UnixCCompiler's, in order to regularize both interface and behaviour (especially by using those new convenience methods) | ||||
* | Don't pass 'keep_dir' to 'compile()' method of CCompiler -- no longer used. | Greg Ward | 2000-03-06 | 1 | -1/+0 |
| | |||||
* | Don't pass 'keep_dir' to 'compile()' method of CCompiler -- no longer used. | Greg Ward | 2000-03-06 | 1 | -3/+4 |
| | | | | | Don't assume that the 'libraries' and 'library_dirs' elements of the build info dict are always lists. | ||||
* | allow comments beginning with ; in key: value as well as key = value | Jeremy Hylton | 2000-03-03 | 1 | -1/+1 |
| | |||||
* | Typo fix. | Greg Ward | 2000-03-03 | 1 | -1/+1 |
| | |||||
* | Fixed 'mkpath()' to accept empty string silently (it's just the current dir). | Greg Ward | 2000-03-03 | 1 | -9/+11 |
| | | | | Fixed all DistutilsFileError messages to wrap file/dir names in quotes. |