1. 16 Nov, 2000 1 commit
  2. 14 Nov, 2000 5 commits
  3. 13 Nov, 2000 8 commits
  4. 11 Nov, 2000 1 commit
  5. 10 Nov, 2000 2 commits
  6. 09 Nov, 2000 2 commits
  7. 08 Nov, 2000 6 commits
  8. 07 Nov, 2000 4 commits
  9. 06 Nov, 2000 7 commits
    • Fred Drake's avatar
      Document the proper exception to be raised by I/O operations on closed · a776cea7
      Fred Drake authored
      files; error reported by Ng Pheng Siong <ngps@post1.com>.
      
      Make sure that various special object attributes are properly indexed.
      a776cea7
    • Barry Warsaw's avatar
      This fixes several bug reports concering memory bloating during large · 7fed2175
      Barry Warsaw authored
      file uploads.
      
      In response to SF bugs 110674 and 119806, and discussions on
      python-dev, we are removing the self.lines attribute from the
      FieldStorage class.  Specifically touched where methods __init__(),
      read_lines_to_eof(), and skip_lines().
      
      No one can remember why self.lines was added.  Technically, it's part
      of the public interface for the class, but it was never documented.
      It's possible clever or nosy code will break because of this, but it
      was decided to remove it and see who complains.
      
      This resolution also closes the second half of the cgi.py entry in PEP
      42.  The first half of that PEP concerns specifically binary file
      uploads, where there may be no end-of-line marker for a very long
      time.  This patch does not address that issue.
      7fed2175
    • Jeremy Hylton's avatar
      a few small optimizations that seem to give a 5-10% speedup; the · 4ebf3be4
      Jeremy Hylton authored
      further optimization of com_node makes the most difference.
      4ebf3be4
    • Jeremy Hylton's avatar
      eefaeb78
    • Jeremy Hylton's avatar
      Change the graph structure to contain the code generator object for · 314e3fb2
      Jeremy Hylton authored
      embedded code objects (e.g. functions) rather than the generated code
      object.  This change means that the compiler generates code for
      everything at the end, rather then generating code for each function
      as it finds it.  Implementation note: _convert_LOAD_CONST in
      pyassem.py must be change to call getCode().
      
      Other changes follow.  Several changes creates extra edges between
      basic blocks to reflect control flow for loops and exceptions.  These
      missing edges had gone unnoticed because they do not affect the
      current compilation process.
      
      pyassem.py:
          Add _enable_debug() and _disable_debug() methods that print
          instructions and blocks to stdout as they are generated.
      
          Add edges between blocks for instructions like SETUP_LOOP,
          FOR_LOOP, etc.
      
          Add pruneNext to get rid of bogus edges remaining after
          unconditional transfer ops (e.g. JUMP_FORWARD)
      
          Change repr of Block to omit block length.
      
      pycodegen.py:
          Make sure a new block is started after FOR_LOOP, etc.
      
          Change assert implementation to use RAISE_VARARGS 1 when there is
          no user-specified failure output.
      
      misc.py:
          Implement __contains__ and copy for Set.
      314e3fb2
    • Jeremy Hylton's avatar
      If a function contains a doc string, remove the doc string node from · a59ac0a7
      Jeremy Hylton authored
      the function's body.
      
      If assert is used without an error message, make the AST node None
      rather than Name('None').
      a59ac0a7
    • Mark Hammond's avatar
  10. 03 Nov, 2000 4 commits