1. 26 Mar, 2001 14 commits
  2. 24 Mar, 2001 5 commits
  3. 23 Mar, 2001 7 commits
  4. 22 Mar, 2001 12 commits
  5. 21 Mar, 2001 2 commits
    • Guido van Rossum's avatar
      Change several "raise HTMLParseError" statements into assertions, as · fb73bb90
      Guido van Rossum authored
      these are really complaints about the intgrity of our own code.
      HTMLParseError should be raised only for invalid input.  (Should we
      turn more unrecognized constructs into exceptions, e.g. '&' not
      followed by an entity or character reference?)
      
      Also added an 'r' prefix to a regex string containing a backslash.
      fb73bb90
    • Guido van Rossum's avatar
      Pile of major changes -- the tests should all succeed again now: · 062277d2
      Guido van Rossum authored
      - NestingError derives from HTMLParseError, and is hence simplified.
      
      - Thread the input position through all the code generation routines;
        all compile-time exceptions now possess lineno and offset.
      
      - Restructured the code that inserts implied end-tags, and made it
        generate output that is the same as the input more often.  This was
        the hardest to get right, and I expect to be working more on it.
      062277d2