• 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
Adı
Son kayıt (commit)
Son güncelleme
..
api Loading commit data...
dist Loading commit data...
doc Loading commit data...
ext Loading commit data...
html Loading commit data...
info Loading commit data...
inst Loading commit data...
lib Loading commit data...
mac Loading commit data...
paper-a4 Loading commit data...
paper-letter Loading commit data...
perl Loading commit data...
ref Loading commit data...
templates Loading commit data...
texinputs Loading commit data...
tools Loading commit data...
tut Loading commit data...
whatsnew Loading commit data...
.cvsignore Loading commit data...
ACKS Loading commit data...
Makefile Loading commit data...
Makefile.deps Loading commit data...
README Loading commit data...
TODO Loading commit data...
libmods.tex Loading commit data...
libstd.tex Loading commit data...