1. 15 Apr, 2002 7 commits
    • Guido van Rossum's avatar
      SF bug #543387. · 9ec4c78a
      Guido van Rossum authored
      Complex numbers implement divmod() and //, neither of which makes one
      lick of sense.  Unfortunately this is documented, so I'm adding a
      deprecation warning now, so we can delete this silliness, oh, around
      2005 or so.
      
      Bugfix candidate (At least for 2.2.2, I think.)
      9ec4c78a
    • Guido van Rossum's avatar
      Four more names for the hall of fame. · a3a4300f
      Guido van Rossum authored
      a3a4300f
    • Guido van Rossum's avatar
      SF bug #541883 (Vincent Fiack). · b6b8942f
      Guido van Rossum authored
      A stupid bug in object_set_class(): didn't check for value==NULL
      before checking its type.
      
      Bugfix candidate.
      b6b8942f
    • Guido van Rossum's avatar
      Add exit as alias for quit, as the easiest way to address SF bug · d1c08f33
      Guido van Rossum authored
      #543674.
      
      Bugfix candidate.
      d1c08f33
    • Guido van Rossum's avatar
      SF bug #543318 (Frank J. Tobin). · beae4777
      Guido van Rossum authored
      In DatagramRequestHandler.setup(), the wfile initialization should be
      StringIO.StringIO(), not StringIO.StringIO(slf.packet).
      
      Bugfix candidate (all the way back to Python 1.5.2 :-).
      beae4777
    • Guido van Rossum's avatar
      Fix from SF bug #541980 (Jacques A. Vidrine). · a2da3052
      Guido van Rossum authored
      When os.stat() for a file raises OSError, turn it into IOError per
      documentation.
      
      Bugfix candidate.
      a2da3052
    • Guido van Rossum's avatar
      Provisional fix for writefile() [SF bug # 541730]. · f90d5292
      Guido van Rossum authored
      The problem was that an exception can occur in the text.get() call or
      in the write() call, when the text buffer contains non-ASCII
      characters.  This causes the previous contents of the file to be lost.
      
      The provisional fix is to call str(self.text.get(...)) *before*
      opening the file, so that if the exception occurs, we never open the
      file.
      
      Two orthogonal better solutions have to wait for policy decisions:
      
      1. We could try to encode the data as Latin-1 or as UTF-8; but that
         would require IDLE to grow a notion of file encoding which requires
         more thought.
      
      2. We could make backups before overwriting a file.  This requires
         more thought because it needs to be fast and cross-platform and
         configurable.
      f90d5292
  2. 14 Apr, 2002 8 commits
  3. 13 Apr, 2002 9 commits
  4. 12 Apr, 2002 16 commits