1. 15 Eyl, 2001 1 kayıt (commit)
  2. 18 Haz, 2001 1 kayıt (commit)
  3. 13 Haz, 2001 2 kayıt (commit)
  4. 12 Haz, 2001 1 kayıt (commit)
    • Tim Peters's avatar
      Added q/Q standard (x-platform 8-byte ints) mode in struct module. · 7a3bfc3a
      Tim Peters yazdı
      This completes the q/Q project.
      
      longobject.c _PyLong_AsByteArray:  The original code had a gross bug:
      the most-significant Python digit doesn't necessarily have SHIFT
      significant bits, and you really need to count how many copies of the sign
      bit it has else spurious overflow errors result.
      
      test_struct.py:  This now does exhaustive std q/Q testing at, and on both
      sides of, all relevant power-of-2 boundaries, both positive and negative.
      
      NEWS:  Added brief dict news while I was at it.
      7a3bfc3a
  5. 10 Haz, 2001 2 kayıt (commit)
    • 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 yazdı
      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
  6. 12 Ara, 2000 1 kayıt (commit)
  7. 23 Eki, 2000 1 kayıt (commit)
  8. 26 Mar, 1998 1 kayıt (commit)
  9. 03 Ock, 1997 2 kayıt (commit)
  10. 31 Ara, 1996 1 kayıt (commit)
  11. 12 Ara, 1996 1 kayıt (commit)