1. 12 Dec, 1996 15 commits
  2. 11 Dec, 1996 18 commits
  3. 10 Dec, 1996 7 commits
    • Guido van Rossum's avatar
      Added new quicksort implementation, tailored to sorting arrays of · d5bf717e
      Guido van Rossum authored
      object pointers.  Should be a bit faster than the C library's qsort(),
      and doesn't have the prohibition on recursion that Solaris qsort() has
      in the threaded version of their C library.
      
      Thanks to discussions with Tim Peters.
      d5bf717e
    • Barry Warsaw's avatar
      Renamed. · 10124544
      Barry Warsaw authored
      Note that there is no test suite for this module, and I don't plan to
      write one just now.
      10124544
    • Barry Warsaw's avatar
      Test output files in their new location · 4b9881ab
      Barry Warsaw authored
      4b9881ab
    • Barry Warsaw's avatar
      a0c98213
    • Barry Warsaw's avatar
      When run as a script, runs each test and sends results to stdout · 9cd77a01
      Barry Warsaw authored
      (i.e. this restores the old functionality).
      
      Note that if a test couldn't be imported, it is just ignored (and no
      warning is printed).
      9cd77a01
    • Barry Warsaw's avatar
      New regression testing harness. · 54ddd794
      Barry Warsaw authored
      (testall.out): obsolete.  see individual test output files in the
      Output directory.
      
      (testall.py): now contains only the list of all tests
      
      (autotest.py): The new testing harness.  Supports -g option to
      generate output files instead of verifying; -w option to warn about
      non-tested optional modules; additional command line arguments to
      generate or test individual tests (useful for generating output file
      of new tests).
      54ddd794
    • Guido van Rossum's avatar
      Moved the raise logic out of the main interpreter loop to a separate function. · a4adedee
      Guido van Rossum authored
      The raise logic has one additional feature: if you raise <class>,
      <value> where <value> is not an instance, it will construct an
      instance using <value> as argument.  If <value> is None, <class> is
      instantiated without arguments.  If <value> is a tuple, it is used as
      the argument list.
      
      This feature is intended to make it easier to upgrade code from using
      string exceptions to using class exceptions; without this feature,
      you'd have to change every raise statement from ``raise X'' to ``raise
      X()'' and from ``raise X, y'' to ``raise X(y)''.  The latter is still
      the recommended form (because it has no ambiguities about the number
      of arguments), but this change makes the transition less painful.
      a4adedee