1. 06 Eyl, 2001 7 kayıt (commit)
    • Martin v. Löwis's avatar
      Patch #416079: fix the debug string output when receiving telnet commands. · b0162f9a
      Martin v. Löwis yazdı
      added all the telnet options known to arpa/telnet.h
      added all the options registered with IANA as of today
      added the possibility for the user to have it's own option negotiation callback
      b0162f9a
    • Steve Purcell's avatar
      Changed TestResult to store only the text representation of an error. · 7b065702
      Steve Purcell yazdı
      This patch is similar to that proposed by Jeremy. The proposed patch altered
      the interface of TestResult such that it would be passed the error
      information as a string rather than an exc_info() tuple.
      
      The implemented change leaves the interface untouched so that TestResults
      are still passed the tracebacks, but stor them in stringified form for
      later reporting.
      
      Notes:
      - Custom subclasses of TestResult written by users should be unaffected.
      - The existing 'unittestgui.py' will still work with this module after the
        change.
      - Support can later be added to pop into the debugger when an error occurs;
        this support should be added to a TestRunner rather than to TestCase itself,
        which this change will enable.
      
      (Jeremy, Fred, Guido: Thanks for all the feedback)
      7b065702
    • Martin v. Löwis's avatar
    • Mark Hammond's avatar
    • Mark Hammond's avatar
    • Tim Peters's avatar
      Dubious assumptions: · b8c0230a
      Tim Peters yazdı
      1. That seeking beyond the end of a file increases the size of a file.
      2. That files so extended are magically filled with null bytes.
      
      I find no support for either in the C std, and #2 in particular turns out
      not to be true on Win32 (you apparently see whatever trash happened to be
      on disk).  Left #1 intact, but changed the test to check only bytes it
      explicitly wrote.  Also fiddled the "expected" vs "got" failure reports
      to consistently use repr (%r) -- they weren't readable otherwise.
      b8c0230a
    • Tim Peters's avatar
      Enable large file support on Win32 systems. · 6e13a562
      Tim Peters yazdı
      Curious:  the MS docs say stati64 etc are supported even on Win95, but
      Win95 doesn't support a filesystem that allows partitions > 2 Gb.
      
      test_largefile:  This was opening its test file in text mode.  I have no
      idea how that worked under Win64, but it sure needs binary mode on Win98.
      BTW, on Win98 test_largefile runs quickly (under a second).
      6e13a562
  2. 05 Eyl, 2001 33 kayıt (commit)