1. 23 Mar, 2001 7 commits
    • Fred Drake's avatar
      a182d9a7
    • Guido van Rossum's avatar
      Fix memory leak with SyntaxError. (The DECREF was originally hidden · 5f398d1e
      Guido van Rossum authored
      inside a piece of code that was deemed reduntant; the DECREF was
      unfortunately *not* redundant!)
      5f398d1e
    • Andrew M. Kuchling's avatar
      Add a paragraph about obmalloc turning up bugs in extension modules · c6f31911
      Andrew M. Kuchling authored
      Mention the new ports
      c6f31911
    • Tim Peters's avatar
      Add Jeremy's compiler to the Windows install. · 2c98744b
      Tim Peters authored
      2c98744b
    • Andrew M. Kuchling's avatar
      Add section for PEP 241 · 6cc2f373
      Andrew M. Kuchling authored
      Add PyUnit and sys.excepthook
      6cc2f373
    • Ka-Ping Yee's avatar
      Add sys.excepthook. · e81b7824
      Ka-Ping Yee authored
      Update docstring and library reference section on 'sys' module.
      New API PyErr_Display, just for displaying errors, called by excepthook.
      Uncaught exceptions now call sys.excepthook; if that fails, we fall back
          to calling PyErr_Display directly.
      Also comes with sys.__excepthook__ and sys.__displayhook__.
      e81b7824
    • Ka-Ping Yee's avatar
      Fixes for various issues reported and discovered since Python 9: · 3683c97d
      Ka-Ping Yee authored
      Factor description of import errors into DocImportError.__str__.
      Add "docother" and "fail" methods to Doc class.
      Factor formatting of constants into "docother".
      Increase max string repr limit to 100 characters.
      Factor page generation into HTMLDoc.page.
      Handle aliasing of names (objects appearing under an attribute
          name different from their intrinsic __name__) by passing the
          attribute name into each doc* method.
      Handle methods at top level of modules (e.g. in random).
      Try to do reloading efficiently.
      
      Important fixes still to do:
          Module reloading is broken by the unfortunate property that
              failed imports leave an incomplete module in sys.  Still
              need to think of a good solution.
          Can't document modules in the current directory, due to the
              other unfortunate property that sys.path gets '.' when
              you run 'python' but it gets the script directory when
              you run a script.  Need to ponder to find a solution.
          The synopsis() routine does not work on .so modules.
          Aliases cause duplicate copies of documentation to appear.
              This is easy to fix, just more work.
          Classes appear as their intrinsic name, not their attribute name,
              in the class hierarchy.  This should be fixed.
          Inherited methods should be listed in class descriptions.
      3683c97d
  2. 22 Mar, 2001 33 commits