1. 18 Aug, 2001 6 commits
    • Jeremy Hylton's avatar
      Add a little introductory text. · 241d69c1
      Jeremy Hylton authored
      Change several sections to subsections (part of the manual -> howto
      transformation).
      
      Flesh out discussion of assignment nodes (and delete statements).
      
      Add an example of manipulating AST objects at a >>> prompt
      241d69c1
    • Jeremy Hylton's avatar
      Generate correct reprs for Mul, Add, etc. · ab427b8c
      Jeremy Hylton authored
      ab427b8c
    • Jeremy Hylton's avatar
      ec5bfd13
    • Jeremy Hylton's avatar
      Add Yield() node · 8548f9b1
      Jeremy Hylton authored
      8548f9b1
    • Tim Peters's avatar
      Remove the horrid generators hack from doctest.py. This relies on a · 4fd9e2fc
      Tim Peters authored
      somewhat less horrid hack <wink>:  if a module does
          from __future__ import X
      then the module dict D is left in a state such that (viewing X as a
      string)
          D[X] is getattr(__future__, X)
      So by examining D for all the names of future features, and making that
      test for each, we can make a darned good guess as to which future-features
      were imported by the module.  The appropriate flags are then sucked out
      of the __future__ module, and passed on to compile()'s new optional
      arguments (PEP 264).
      
      Also gave doctest a meaningful __all__, removed the history of changes
      (CVS serves that purpose now), and removed the __version__ vrbl (similarly;
      before CVS, it was a reasonable clue, but not anymore).
      4fd9e2fc
    • Jeremy Hylton's avatar
      Add Yield() statement handler · ec927348
      Jeremy Hylton authored
      Fix Module() handler to avoid including the doc string in the AST
      ec927348
  2. 17 Aug, 2001 29 commits
  3. 16 Aug, 2001 5 commits