1. 22 Dec, 2004 5 commits
  2. 21 Dec, 2004 5 commits
  3. 20 Dec, 2004 4 commits
  4. 19 Dec, 2004 3 commits
  5. 18 Dec, 2004 5 commits
  6. 17 Dec, 2004 1 commit
    • Raymond Hettinger's avatar
      Refactor: · 53d0ad3e
      Raymond Hettinger authored
      * Improve algorithm -- no more O(n) steps except sched.cancel().
      * Improve thread safety of sched.run() and sched.empty()
        (other threads could alter the queue between the time the queue was
         first checked and when the lead event was deleted).
      * Localize variable access in sched.run() to minimize overhead.
      53d0ad3e
  7. 16 Dec, 2004 5 commits
  8. 15 Dec, 2004 1 commit
  9. 14 Dec, 2004 2 commits
  10. 13 Dec, 2004 6 commits
  11. 12 Dec, 2004 3 commits
    • Johannes Gijsbers's avatar
      Patch #1080684: typo repair. Thanks George Yoshida! · ac18b0de
      Johannes Gijsbers authored
      - Doc/lib/libbase64.tex
      s/algorith/algorithm
      
      - Doc/lib/libpickle.tex
      s/interchangable/interchangeable
      
      - Doc/lib/libxmlrpclib.tex
      s/{_cmp__}/{__cmp__}
      
      leading underscore needs to be double, not single.
      
      - Doc/ref/ref6.tex
      0/1 => False/True
      ac18b0de
    • Johannes Gijsbers's avatar
      Patch #1011890: fix inspect.getsource breaking with line-continuation & · adc33fcc
      Johannes Gijsbers authored
      more. Thanks to Simon Percivall!
      
      The patch makes changes to inspect.py in two places:
      
      * the pattern to match against functions at line 436 is
      modified: lambdas should be matched even if not
      preceded by whitespace, as long as "lambda" isn't part
      of another word.
      
      * the BlockFinder class is heavily modified. Changes are:
      - checking for "def", "class" or "lambda" names
      before setting self.started to True. Then checking the
      same line for word characters after the colon (if the
      colon is on that line). If so, and the line does not
      end with a line continuation marker, raise EndOfBlock
      immediately.
      - adding self.passline to show that the line is to be
      included and no more checking is necessary on that
      line. Since a NEWLINE token is not generated when a
      line continuation marker exists, this allows getsource
      to continue with these functions even if the following
      line would not be indented.
      
      Also add a bunch of
      'quite-unlikely-to-occur-in-real-life-but-working-anyway' tests.
      adc33fcc
    • Johannes Gijsbers's avatar
      Patch #736962: port test_inspect to unittest. As part of this, move out · 110bc4ba
      Johannes Gijsbers authored
      the fodder modules to separate files to get rid of the imp.load_source()
      trickery.
      110bc4ba