1. 09 Feb, 2001 3 commits
    • Guido van Rossum's avatar
      - Fix use-macro expansion to properly retain the use-macro attribute · 4bf04d3d
      Guido van Rossum authored
        value.  This affects TALCompiler.py and TALInterpreter.py, and
        affects the output of the non-local-macro expansion tests.  The
        TALVisitor.py module is *not* yet fixed to do this.
      
      - In order to do this, I had to change the "program code" format for
        the attribute list: the 3rd item of an attribute description tuple,
        if present, now names an action, and the remaining tuple items are
        arguments for that action.  Two actions are recognized: "replace"
        replaces the attribute with the outcome of evaluating the expression
        given by the next tuple  item; "macroHack" replaces the attribute
        name with "use-macro" and its value with the current macro, but
        only if we're inside macro expansion and the attribute name ends in
        ":define-macro".
      
      - The test suite is now error-free for "./runtest.py -c" but shows some
        errors for "./runtest.py".
      
      - Added a primitive debugging flag to the TALInterpreter class.
      
      - Update the README.
      4bf04d3d
    • Guido van Rossum's avatar
      cc2e1475
    • Guido van Rossum's avatar
      Raise an exception when an unknown TAL or METAL attribute is found. · 091b862d
      Guido van Rossum authored
      - Should I check for spurious TAL attributes even when doing just
        METAL (macro) expansion?
      
      - Should I turn all the other errors into exceptions too?  (Currently
        they are all print statements.)
      091b862d
  2. 08 Feb, 2001 11 commits
  3. 07 Feb, 2001 10 commits
  4. 06 Feb, 2001 3 commits
    • Tres Seaver's avatar
      *** empty log message *** · 7d656298
      Tres Seaver authored
      7d656298
    • Tres Seaver's avatar
      · cf6a10c7
      Tres Seaver authored
      * Merge hardening of ZMI contents view against subobjects with
        flaky 'get_size' (Collector #1900).
      cf6a10c7
    • Chris McDonough's avatar
      Committing Stephen Purcell's PyUnit 1.3.0 to the core. · fac958bd
      Chris McDonough authored
      It has more informative default output useful for testing things that take out the interpreter halfway through the test script (like segfaulting C extensions).  Instead of printing dots as tests are run, it prints the testname.  It also has other features, listed below.
      
      Changes from 1.2.0 to 1.3.0
      ---------------------------
      
      * Clearer and more verbose text output format
      * Tests run in text mode can now be interrupted using ctrl-c
      * New FunctionTestCase class provides support for wrapping legacy test
        functions into PyUnit test case instances
      * Code is now compatible with JPython (new example: examples/withjpython.py)
      * Support for short descriptions of tests, taken from __doc__ strings
        by default
      * Updated and expanded documentation
      * Tested with Python 2
      * Changed module reloading mechanism in GUI test runner to fix a problem
        with Python 2 on Win32 reported by Henrik Weber (bug 125463)
      * Convenient new unittest.main() function for use by all test modules
      
      For more information, see http://pyunit.sourceforge.net
      fac958bd
  5. 05 Feb, 2001 11 commits
  6. 02 Feb, 2001 2 commits