1. 25 Sep, 1998 5 commits
  2. 24 Sep, 1998 2 commits
  3. 23 Sep, 1998 2 commits
  4. 22 Sep, 1998 3 commits
    • Guido van Rossum's avatar
      Reworked it quite a bit. There are now two classes: a base class, · 248f4061
      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.
      248f4061
    • Barry Warsaw's avatar
      (py-block-comment-prefix): Remove trailing space. Also explain that · fa4b520d
      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.
      fa4b520d
    • Guido van Rossum's avatar
      Do the check for lacking sys.stdin.fileno() *before* testing for · 72326c8c
      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.
      72326c8c
  5. 21 Sep, 1998 10 commits
  6. 18 Sep, 1998 2 commits
  7. 17 Sep, 1998 8 commits
  8. 15 Sep, 1998 1 commit
  9. 14 Sep, 1998 7 commits
    • Guido van Rossum's avatar
      Ignore the TclError exception raised when deleting the registration · 40f24afb
      Guido van Rossum authored
      for callit, used by the after() command.  This can happen when the
      callback deletes the window.
      40f24afb
    • Barry Warsaw's avatar
      Several changes that Python carry on in the face of errors in the · ad16d78f
      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.
      ad16d78f
    • Guido van Rossum's avatar
      Added the mainloop() call. · c8cdd336
      Guido van Rossum authored
      c8cdd336
    • Guido van Rossum's avatar
      nannified · 75599d5b
      Guido van Rossum authored
      75599d5b
    • Guido van Rossum's avatar
      There was a confusion in my checkin of the code to support list() with · 2ae88919
      Guido van Rossum authored
      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'.
      2ae88919
    • Guido van Rossum's avatar
      nannified · 5efb5de5
      Guido van Rossum authored
      5efb5de5
    • Guido van Rossum's avatar
      81185b11