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