- 25 May, 2000 11 commits
-
-
Barry Warsaw authored
or fini of the builtin module. _PyBuiltin_Init_1 => _PyBuiltin_Init _PyBuiltin_Init_2 removed _PyBuiltin_Fini_1 removed _PyBuiltin_Fini_2 removed These functions are used to initialize the _exceptions module. init_exceptions added fini_exceptions added
-
Greg Ward authored
-
Fred Drake authored
This patch adds a comment about quoting to the doc string, and also checks that the 'flags' argument to the STORE command is appropriately enclosed inside parentheses to avoid quoting.
-
Barry Warsaw authored
used to build the fallback string-based exception.
-
Greg Ward authored
-
Greg Ward authored
* 'first_line_re' loosened up * command description improved * replaced '_copy_files()' and '_adjust_files()' with one method that does everything, 'copy_scripts()' -- this should be more efficient than Bastian's version, should behave better in dry-run mode, and does timestamp dependency-checking
-
Greg Ward authored
'install_misc' class.
-
Greg Ward authored
its 'scripts' attribute.
-
Greg Ward authored
-
Greg Ward authored
necessary to support it. Details: - build command additionally calls build_scripts - build_scripts builds your scripts in 'build/scripts' and adjusts the first line if it begins with "#!" and ends with "python", optionally ending with commandline options (like -O, -t ...). Adjusting means we write the current path to the Python interpreter in the first line. - install_scripts copies the scripts to the install_scripts dir - install_data copies your data_files in install_data. You can supply individual directories for your data_files: data_files = ['doc/info.txt', # copy this file in install_scripts dir ('testdata', ['a.dat', 'b.dat']), # copy these files in # install_scripts/testdata ('/etc', ['packagerc']), # copy this in /etc. When --root is # given, copy this in rootdir/etc ] So you can use the --root option with absolute data paths.
-
Greg Ward authored
-
- 24 May, 2000 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
often, ftp URLs hang in the final close. Further analysis suggests that this is because the close hook in addclosehook() calls the hook before acually closing the connection. The hook, in this case, waits for the '226 Transfer complete' status from the server on the command socket. However, more and more ftp servers only send this status when the data socket has actually been closed -- causing a deadlock. The fix is simple: in addclosehook.close(), call addbase.close() *before* calling the closehook.
-
- 23 May, 2000 15 commits
-
-
Greg Ward authored
DistutilsPlatformError: "invalid Python installation". (This will happen on Red Hat-ish systems where the python-devel package is not installed.)
-
Andrew M. Kuchling authored
now complete, but probably still not very helpful or friendly. Note: two very large tables (of key names, and of character names) were added; these tables format terribly, and need some reworking.
-
Andrew M. Kuchling authored
Lots of typo fixes (a bit too much cut-and-paste in this module) Aliases removed: attr_on, attr_off, attr_set Lowercased the names COLOR_PAIR and PAIR_NUMBER #ifdef's for compiling on Solaris added (need to understand SYSV curses versions better and generalize this) Bumped version number bumped to 1.6
-
Andrew M. Kuchling authored
-
Barry Warsaw authored
Montanaro, handle execution of indented regions by inserting an "if 1:" in front of the block. This better preserves things like triple quoted strings and commented regions. This patch resolves PR#264.
-
Greg Ward authored
before setting it -- this will catch bad options (eg. typos) in config files.
-
Greg Ward authored
dump the Distribution's 'command_options' dict after parsing config files, and then after parsing the command line.
-
Greg Ward authored
after all -- turns out it doesn't buy us much after all...
-
Greg Ward authored
* 'get_command_obj()' now sets command attributes based on the 'command_options' dictionary * some typos fixed * kludged 'parse_config_files()' to re-initialize the ConfigParser instance after each file, so we know for sure which config file each option comes form * added lots of handy debugging output
-
Fred Drake authored
Typo: "dictionairy" --> "dictionary" (twice).
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
in the option list is an attribute of the OptionDummy that will be initialized to None.
-
Greg Ward authored
-
Greg Ward authored
command-line parsing code, splitting it up into several methods (new methods: '_parse_command_opts()', '_show_help()') and making it put options into the 'command_options' dictionary rather than instantiating command objects and putting them there. Lots of other little changes: * merged 'find_command_class()' and 'create_command_obj()' and called the result 'get_command_class()' * renamed 'find_command_obj()' to 'get_command_obj()', and added command object creation and maintenance of the command object cache to its responsibilities (taken over from 'create_command_obj()') * parse config files one-at-a-time, so we can keep track of the filename for later error reporting * tweaked some help messages * fixed up many obsolete comments and docstrings
-
- 22 May, 2000 1 commit
-
-
Guido van Rossum authored
-
- 21 May, 2000 1 commit
-
-
Guido van Rossum authored
is no index.htm[l] file, and when it is called, it also spits out the headers. When an index.htm[l] file is present, the regular (file access) path is followed. Also, when the guessed content-type matches text/*, open the file in text mode; otherwise in binary mode.
-
- 20 May, 2000 7 commits
-
-
Greg Ward authored
destination path, otherwise show just the directory.
-
Greg Ward authored
objects, it now has method names. Added three methods, 'has_lib()', 'has_scripts()', and 'has_data()' to determine if we need to run each of the three possible sub-commands. Added 'get_sub_commands()' to take care of finding the methods named in 'sub_commands', running them, and interpreting the results to build a list of sub-commands that actually have to be run.
-
Greg Ward authored
have any Python modules to install (rather than bomb when we try to copy a non-existent directory).
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
implemented by subclasses, since they are needed by 'gen_lib_options()'.
-
Greg Ward authored
and 'link_shared_lib()'. In MSVCCompiler, this is meaningful: it adds /EXPORT: options to the linker command line. In UnixCCompiler, it is ignored.
-
- 19 May, 2000 1 commit
-
-
Guido van Rossum authored
-
- 18 May, 2000 2 commits
-
-
Guido van Rossum authored
-
Fred Drake authored
Francois Pinard.
-