1. 11 Oct, 1999 1 commit
  2. 10 Oct, 1999 1 commit
    • Guido van Rossum's avatar
      Jeremy writes: · 08a92cb5
      Guido van Rossum authored
      I found the following patch helpful in tracking down a bug in some
      code.  I had appended time, the module, instead of time.time().  Not
      sure if it is generally true that printing the repr of the object is
      good, but I expect that most unpicklable things will have fairly
      information and concise reprs (like files or sockets or modules).
      08a92cb5
  3. 07 Oct, 1999 1 commit
  4. 06 Oct, 1999 1 commit
  5. 05 Oct, 1999 4 commits
  6. 04 Oct, 1999 3 commits
    • Guido van Rossum's avatar
      Added has_option(); fix bug in get() which botched interpolation if · a5a24b76
      Guido van Rossum authored
      '%(' was found in first position (found by Fred Drake).
      a5a24b76
    • Guido van Rossum's avatar
      Urmpfh! · 6a8d84b0
      Guido van Rossum authored
      Withdraw the change that Fred just checked in -- it was a poorly
      documented feature, not a bug, to ignore I/O errors in read().
      
      The new docstring explains the reason for the feature:
      """
      this is designed so that you can specifiy a list of potential
      configuration file locations (e.g. current directory, user's home
      directory, systemwide directory), and all existing configuration files
      in the list will be read.
      """
      
      Also add a lower-level function, readfp(), which takes an open file
      object (and optionally a filename).
      
      XXX There are some other problems with this module, but I don't have
      time to dig into these; in particular, there are complaints that the
      %(name)s substitution from the [DEFAULTS] section doesn't work
      correctly.
      6a8d84b0
    • Fred Drake's avatar
      2438a485
  7. 03 Oct, 1999 10 commits
  8. 01 Oct, 1999 2 commits
  9. 30 Sep, 1999 11 commits
  10. 29 Sep, 1999 6 commits
    • Guido van Rossum's avatar
      8e7eaa8a
    • Greg Ward's avatar
    • Greg Ward's avatar
      Added all documentation. · 274ad9dc
      Greg Ward authored
      Slightly improved the code for dealing with newline on a comment line,
        and for stripping whitespace.
      274ad9dc
    • Greg Ward's avatar
    • Greg Ward's avatar
      Added 'package' option. · a6cb8ae7
      Greg Ward authored
      Catch up with renamed 'platdir' -> 'build_platlib' option in 'build'.
      Don't call 'set_final_options()' in 'run()' anymore -- that's now
        guaranteed to be taken care of for us by the Distribution instance.
      If 'include_dirs' is a string, split it on os.pathsep (this is half-
        hearted -- support for setting compile/link options on the command
        line is totally lame and probably won't work at all).
      Added 'get_source_files()' for use by 'dist' command.
      Added code to 'build_extensions()' to figure out the "def file" to use
        with MSVC++ and add it to the linker command line as an "extra_postarg".
      a6cb8ae7
    • Greg Ward's avatar
      Renamed 'dir' option to be consistent with other commands. · 2a612067
      Greg Ward authored
      Don't call 'set_final_options()' in 'run()' anymore -- that's now
        guaranteed to be taken care of for us by the Distribution instance.
      Rearranged to bit to allow outsiders (specifically, the 'dist' command)
        to find out what modules we would build:
        - 'find_modules()' renamed to 'find_package_modules()'
        - most of 'build_modules()' abstracted out to 'find_modules()'
        - added 'get_source_files()' (for the 'dist' command to use)
        - drastically simplified 'build_modules()' -- now just a wrapper around
          'find_modules()' and 'build_module()'
      2a612067