1. 01 May, 2000 7 commits
  2. 28 Apr, 2000 14 commits
  3. 27 Apr, 2000 12 commits
  4. 26 Apr, 2000 7 commits
    • Jack Jansen's avatar
      Almost ready for 1.6a2. · cb7bbcfd
      Jack Jansen authored
      cb7bbcfd
    • Guido van Rossum's avatar
      Jack Jansen: · 8f091f10
      Guido van Rossum authored
      This patch is a workaround for Macintosh, where the GUSI I/O library
      (time, stat, etc) use the MacOS epoch of 1-Jan-1904 and the MSL C
      library (ctime, localtime, etc) uses the (apparently ANSI standard)
      epoch of 1-Jan-1900. Python programs see the MacOS epoch and we
      convert values when needed.
      8f091f10
    • Jeremy Hylton's avatar
      potentially useless optimization · 39fd144c
      Jeremy Hylton authored
      The previous checkin (2.84) added a PyErr_Format call that made the
      cost of raising an AttributeError much more expensive.  In general
      this doesn't matter, except that checks for __init__ and
      __del__ methods, where exceptions are caught and cleared in C, also
      got much more expensive.
      
      The fix is to split instance_getattr1 into two calls:
      
      instance_getattr2 checks the instance and the class for the attribute
      and returns it or returns NULL on error.  It does not raise an
      exception.
      
      instance_getattr1 does rexec checks, then calls instance_getattr2.  It
      raises an exception if instance_getattr2 returns NULL.
      
      PyInstance_New and instance_dealloc now call instance_getattr2
      directly.
      39fd144c
    • Guido van Rossum's avatar
      Michael Hudson: · 28c31614
      Guido van Rossum authored
      This patch changes posixmodule.c:execv to
      
      a) check for zero length args (does this to execve, too), raising
         ValueError.
      
      b) raises more rational exceptions for various flavours of duff arguments.
         I *hate*
            TypeError: "illegal argument type for built-in operation"
         It has to be one of the most frustrating error messages ever.
      28c31614
    • Guido van Rossum's avatar
      Michael Hudson fixes a case where execv() is called (for a test) with · ec03a637
      Guido van Rossum authored
      an empty argument list -- another patch he's checking in will make
      this illegal (the first argument should always be the program name).
      ec03a637
    • Fred Drake's avatar
    • Fred Drake's avatar
      e04c3901