1. 28 Eyl, 1998 2 kayıt (commit)
    • Guido van Rossum's avatar
      Changes by Eric Raymond: · 9ab96d40
      Guido van Rossum yazdı
      1. Generate a correct Content-Length header visible through the info() method
         if a request to open an FTP URL gets a length in the response to RETR.
      
      2. Take a third argument to urlretrieve() that makes it possible to progress-
         meter an urlretrieve call (this is what I needed the above change for).
         See the second patch band below for details.
      
      3. To avoid spurious errors, I commented out the gopher test.  The target
         document no longer exists.
      9ab96d40
    • Jack Jansen's avatar
      Truncate messages if they are longer than 255 characters. Note that this is · d5af7bd4
      Jack Jansen yazdı
      not really a good solution for default input strings...
      d5af7bd4
  2. 25 Eyl, 1998 5 kayıt (commit)
  3. 24 Eyl, 1998 2 kayıt (commit)
  4. 23 Eyl, 1998 2 kayıt (commit)
  5. 22 Eyl, 1998 3 kayıt (commit)
    • Guido van Rossum's avatar
      Reworked it quite a bit. There are now two classes: a base class, · 5227f0fd
      Guido van Rossum yazdı
      InteractiveInterpreter, which handles parsing and interpreter state
      but doesn't know deal with buffering or prompting or input file
      naming.  And a derived class, InteractiveConsole, which adds buffering
      and prompting and supports setting the filename once.  Also tweak the
      algorithm in compile_command() a bit so that input consisting of all
      blank lines or comments always succeeds immediately, and note the fact
      that apart from SyntaxError it can also raise OverflowError.
      5227f0fd
    • Barry Warsaw's avatar
      (py-block-comment-prefix): Remove trailing space. Also explain that · 218eb75b
      Barry Warsaw yazdı
      this string should not end with whitespace.
      
      (py-compute-indentation): Append whitespace regexp to
      py-block-comment-prefix so that any combination of intervening
      whitespace will be recognized.
      218eb75b
    • Guido van Rossum's avatar
      Do the check for lacking sys.stdin.fileno() *before* testing for · 0238a25b
      Guido van Rossum yazdı
      Windows.  If sys.stdin doesn't appear to be a real file (characterized
      by having a working fileno()), don't use any console specific methods
      -- go straight to the default.
      0238a25b
  6. 21 Eyl, 1998 10 kayıt (commit)
  7. 18 Eyl, 1998 2 kayıt (commit)
  8. 17 Eyl, 1998 8 kayıt (commit)
  9. 15 Eyl, 1998 1 kayıt (commit)
  10. 14 Eyl, 1998 5 kayıt (commit)
    • Guido van Rossum's avatar
      Ignore the TclError exception raised when deleting the registration · 0c92000b
      Guido van Rossum yazdı
      for callit, used by the after() command.  This can happen when the
      callback deletes the window.
      0c92000b
    • Barry Warsaw's avatar
      Several changes that Python carry on in the face of errors in the · 98b6246c
      Barry Warsaw yazdı
      initialization of class exceptions.  Specifically:
      
      init_class_exc(): This function now returns an integer status of the
      class exception initialization.  No fatal errors in this method now.
      Also, use PySys_WriteStderr() when writing error messages.  When an
      error occurs in this function, 0 is returned, but the partial creation
      of the exception classes is not undone (this happens elsewhere).
      
      Things that could trigger the fallback:
      
          - exceptions.py fails to be imported (due to syntax error, etc.)
      
          - one of the exception classes is missing (e.g. due to library
            version mismatch)
      
          - exception class can't be inserted into __builtin__'s dictionary
      
          - MemoryError instance can't be pre-allocated
      
          - some other PyErr_Occurred
      
      newstdexception(): Changed the error message.  This is still a fatal
      error because if the string based exceptions can't be created, we
      really can't continue.
      
      initerrors(): Be sure to xdecref the .exc field, which might be
      non-NULL if class exceptions init was aborted.
      
      _PyBuiltin_Init_2(): If class exception init fails, print a warning
      message and reinstate the string based exceptions.
      98b6246c
    • Guido van Rossum's avatar
      Added the mainloop() call. · d24d3fcd
      Guido van Rossum yazdı
      d24d3fcd
    • Guido van Rossum's avatar
      nannified · 5fae9e8b
      Guido van Rossum yazdı
      5fae9e8b
    • Guido van Rossum's avatar
      There was a confusion in my checkin of the code to support list() with · 8d5bef7f
      Guido van Rossum yazdı
      and without a message number argument: the argument was called 'msg'
      but the code expected it to be called 'which'.  In line with the other
      methods, I've renamed the argument to 'which', and adapted the doc
      string not to refer to 'msg'.
      8d5bef7f