summaryrefslogtreecommitdiff
path: root/Doc/lib/libstruct.tex
AgeCommit message (Collapse)AuthorLines
2001-09-15Fixed typo in new 'p' description.Tim Peters-1/+1
2001-09-15SF bug [#461674] struct 'p' format doesn't work (maybe)Tim Peters-7/+11
Rewrote the 'p' description.
2001-07-06Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake-12/+12
translation more difficult, as well as reading the English more difficult for non-native speakers.
2001-06-15Add a version annotation for the Q and q format codes.Fred Drake-1/+2
2001-06-12Added q/Q standard (x-platform 8-byte ints) mode in struct module.Tim Peters-7/+10
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.
2001-06-10Initial support for 'q' and 'Q' struct format codes: for now, only inTim Peters-5/+6
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.
2001-01-24Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.Ka-Ping Yee-2/+2
Switch from octal escapes to hex escapes for other nonprintable characters.
2000-04-03Merged changes from the 1.5.2p2 release.Fred Drake-17/+29
(Very rough.)
1999-08-24Added additional index entries.Fred Drake-11/+14
Minor markup nits.
1999-04-21Oops; minor nit in example: none of the other interactive examplesFred Drake-1/+0
show the "trailing" prompt, so don't show it here!
1999-04-21Added link to xdrlib module in "See also" section.Fred Drake-1/+2
1998-11-30Fix minor nit with respect to conversion.Fred Drake-39/+43
Update some logical markup.
1998-09-21Patch by Greg Stein to document the 'P' flag.Guido van Rossum-0/+17
1998-08-10New section header style.Fred Drake-1/+2
Fix up a few synopses.
1998-07-23Document the 'p' format character.Fred Drake-7/+16
Clean up some of the markup.
1998-07-23Adjusted to use the new module synopsis support macros.Fred Drake-2/+4
1998-04-11Lighten up tables.Fred Drake-2/+2
1998-04-04Remove all uses of \sectcode; we can now use logical markup everywhere.Fred Drake-1/+1
1998-03-17Change "\," to just "," in function signatures. This is easier to maintain,Fred Drake-2/+2
works better with LaTeX2HTML, and allows some simplification of the python.sty macros.
1998-03-16Adjusted an index entry.Fred Drake-1/+1
1998-03-08Moved solitary "see also" paragraph into a {seealso} environment, and toldFred Drake-6/+7
why the reader should see also.
1998-02-13Remove all \bcode / \ecode cruft; this is no longer needed. See previousFred Drake-3/+3
checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across.
1997-12-16Fixed index module reference.Fred Drake-1/+1
1997-08-26Ignore whitespace between formats (not internal to a count+format).Guido van Rossum-0/+3
1997-07-17AMK's megapatch:Guido van Rossum-1/+2
* \bcode, \ecode added everywhere * \label{module-foo} added everywhere * A few \seealso sections added. * Indentation fixed inside verbatim in lib*tex files
1997-01-03'I' and 'L' now always return a Python long.Guido van Rossum-3/+1
1997-01-03Describe standard float/double support.Guido van Rossum-6/+10
Rewrite example to be an interactive session
1996-12-31Document the new extensions.Guido van Rossum-9/+64
1995-03-28restructured library manual accordiung to functional groupGuido van Rossum-0/+3
1995-03-17mass changes; fix titles; add examples; correct typos; clarifications;Guido van Rossum-1/+1
unified style; etc.
1995-03-07changes (suggested) by Soren LarsenGuido van Rossum-3/+3
1994-01-02Restructured library documentationGuido van Rossum-0/+75