Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Initial support for 'q' and 'Q' struct format codes: for now, only in | Tim Peters | 2001-06-10 | 1 | -10/+47 | |
| | | | | | | | | | | | | | | | | | | 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. | |||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -4/+4 | |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | |||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -1/+1 | |
| | ||||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -31/+31 | |
| | ||||||
* | Change the ``calcsize*3'' test to be portable to 64-bit machines. | Guido van Rossum | 1997-01-03 | 1 | -3/+7 | |
| | ||||||
* | Added f/d tests for specific byte orders. | Guido van Rossum | 1997-01-03 | 1 | -9/+19 | |
| | ||||||
* | Exercise the new feature set somewhat. | Guido van Rossum | 1996-12-31 | 1 | -10/+73 | |
| | | | | Use TestFailed exception and verbose flag from test_support module. | |||||
* | A test of the struct module | Barry Warsaw | 1996-12-12 | 1 | -0/+44 | |