1. 28 Sep, 1998 4 commits
  2. 25 Sep, 1998 5 commits
  3. 24 Sep, 1998 2 commits
  4. 23 Sep, 1998 2 commits
  5. 22 Sep, 1998 3 commits
    • Guido van Rossum's avatar
      Reworked it quite a bit. There are now two classes: a base class, · 5227f0fd
      Guido van Rossum authored
      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 authored
      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 authored
      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 Sep, 1998 10 commits
  7. 18 Sep, 1998 2 commits
  8. 17 Sep, 1998 8 commits
  9. 15 Sep, 1998 1 commit
  10. 14 Sep, 1998 3 commits
    • Guido van Rossum's avatar
      Ignore the TclError exception raised when deleting the registration · 0c92000b
      Guido van Rossum authored
      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 authored
      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 authored
      d24d3fcd