1. 31 Aug, 2006 3 commits
  2. 29 Aug, 2006 2 commits
  3. 26 Aug, 2006 1 commit
  4. 25 Aug, 2006 9 commits
  5. 24 Aug, 2006 1 commit
  6. 23 Aug, 2006 5 commits
    • Alex Martelli's avatar
      Reverting the patch that tried to fix the issue whereby x**2 raises · 348dc880
      Alex Martelli authored
      OverflowError while x*x succeeds and produces infinity; apparently
      these inconsistencies cannot be fixed across ``all'' platforms and
      there's a widespread feeling that therefore ``every'' platform
      should keep suffering forevermore.  Ah well.
      348dc880
    • Jeremy Hylton's avatar
      Replace dead code with an assert. · 39c532c0
      Jeremy Hylton authored
      Now that COMMENT tokens are reliably followed by NL or NEWLINE,
      there is never a need to add extra newlines in untokenize.
      39c532c0
    • Jeremy Hylton's avatar
      Bug fixes large and small for tokenize. · 76467ba6
      Jeremy Hylton authored
      Small: Always generate a NL or NEWLINE token following
             a COMMENT token.  The old code did not generate an NL token if
             the comment was on a line by itself.
      
      Large: The output of untokenize() will now match the
             input exactly if it is passed the full token sequence.  The
             old, crufty output is still generated if a limited input
             sequence is provided, where limited means that it does not
             include position information for tokens.
      
      Remaining bug: There is no CONTINUATION token (\) so there is no way
      for untokenize() to handle such code.
      
      Also, expanded the number of doctests in hopes of eventually removing
      the old-style tests that compare against a golden file.
      
      Bug fix candidate for Python 2.5.1. (Sigh.)
      76467ba6
    • Alex Martelli's avatar
      x**2 should about equal x*x (including for a float x such that the result is · 20362a82
      Alex Martelli authored
      inf) but didn't; added a test to test_float to verify that, and ignored the
      ERANGE value for errno in the pow operation to make the new test pass (with
      help from Marilyn Davis at the Google Python Sprint -- thanks!).
      20362a82
    • Jeremy Hylton's avatar
      29bef0bb
  7. 22 Aug, 2006 4 commits
  8. 21 Aug, 2006 9 commits
  9. 20 Aug, 2006 1 commit
  10. 19 Aug, 2006 5 commits