1. 14 Jun, 2001 6 commits
  2. 13 Jun, 2001 11 commits
  3. 12 Jun, 2001 9 commits
  4. 11 Jun, 2001 8 commits
  5. 10 Jun, 2001 5 commits
    • Tim Peters's avatar
      c533edce
    • Tim Peters's avatar
      Initial support for 'q' and 'Q' struct format codes: for now, only in · 7b9542a3
      Tim Peters authored
      native mode, and only when config #defines HAVE_LONG_LONG.  Standard mode
      will eventually treat them as 8-byte ints across all platforms, but that
      likely requires a new set of routines in longobject.c first (while
      sizeof(long) >= 4 is guaranteed by C, there's nothing in C we can rely
      on x-platform to hold 8 bytes of int, so we'll have to roll our own;
      I'm thinking of a simple pair of conversion functions, Python long
      to/from sized vector of unsigned bytes; that may be useful for GMP
      conversions too; std q/Q would call them with size fixed at 8).
      
      test_struct.py:  In addition to adding some native-mode 'q' and 'Q' tests,
      got rid of unused code, and repaired a non-portable assumption about
      native sizeof(short) (it isn't 2 on some Cray boxes).
      
      libstruct.tex:  In addition to adding a bit of 'q'/'Q' docs (more needed
      later), removed an erroneous footnote about 'I' behavior.
      7b9542a3
    • Jack Jansen's avatar
      fcc54cab
    • Tim Peters's avatar
      SF bug 431772: traceback.print_exc() causes traceback · 0bb580d2
      Tim Peters authored
      Patch from Michael Hundson.
      format_exception_only() blew up when trying to report a SyntaxError
      from a string input (line is None in this case, but it assumed a string).
      Bugfix candidate.
      0bb580d2
    • Peter Schneider-Kamp's avatar
      annoying whitespace inconsistency · 07c1922b
      Peter Schneider-Kamp authored
      07c1922b
  6. 09 Jun, 2001 1 commit
    • Tim Peters's avatar
      SF bug 430991: wrong co_lnotab · 2a7f3841
      Tim Peters authored
      Armin Rigo pointed out that the way the line-# table got built didn't work
      for lines generating more than 255 bytes of bytecode.  Fixed as he
      suggested, plus corresponding changes to pyassem.py, plus added some
      long overdue docs about this subtle table to compile.c.
      
      Bugfix candidate (line numbers may be off in tracebacks under -O).
      2a7f3841