Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a version annotation for the Q and q format codes. | Fred Drake | 2001-06-15 | 1 | -1/+2 |
| | |||||
* | Added q/Q standard (x-platform 8-byte ints) mode in struct module. | Tim Peters | 2001-06-12 | 1 | -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 in | Tim Peters | 2001-06-10 | 1 | -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 Yee | 2001-01-24 | 1 | -2/+2 |
| | | | | Switch from octal escapes to hex escapes for other nonprintable characters. | ||||
* | Merged changes from the 1.5.2p2 release. | Fred Drake | 2000-04-03 | 1 | -17/+29 |
| | | | | (Very rough.) | ||||
* | Added additional index entries. | Fred Drake | 1999-08-24 | 1 | -11/+14 |
| | | | | Minor markup nits. | ||||
* | Oops; minor nit in example: none of the other interactive examples | Fred Drake | 1999-04-21 | 1 | -1/+0 |
| | | | | show the "trailing" prompt, so don't show it here! | ||||
* | Added link to xdrlib module in "See also" section. | Fred Drake | 1999-04-21 | 1 | -1/+2 |
| | |||||
* | Fix minor nit with respect to conversion. | Fred Drake | 1998-11-30 | 1 | -39/+43 |
| | | | | Update some logical markup. | ||||
* | Patch by Greg Stein to document the 'P' flag. | Guido van Rossum | 1998-09-21 | 1 | -0/+17 |
| | |||||
* | New section header style. | Fred Drake | 1998-08-10 | 1 | -1/+2 |
| | | | | Fix up a few synopses. | ||||
* | Document the 'p' format character. | Fred Drake | 1998-07-23 | 1 | -7/+16 |
| | | | | Clean up some of the markup. | ||||
* | Adjusted to use the new module synopsis support macros. | Fred Drake | 1998-07-23 | 1 | -2/+4 |
| | |||||
* | Lighten up tables. | Fred Drake | 1998-04-11 | 1 | -2/+2 |
| | |||||
* | Remove all uses of \sectcode; we can now use logical markup everywhere. | Fred Drake | 1998-04-04 | 1 | -1/+1 |
| | |||||
* | Change "\," to just "," in function signatures. This is easier to maintain, | Fred Drake | 1998-03-17 | 1 | -2/+2 |
| | | | | | works better with LaTeX2HTML, and allows some simplification of the python.sty macros. | ||||
* | Adjusted an index entry. | Fred Drake | 1998-03-16 | 1 | -1/+1 |
| | |||||
* | Moved solitary "see also" paragraph into a {seealso} environment, and told | Fred Drake | 1998-03-08 | 1 | -6/+7 |
| | | | | why the reader should see also. | ||||
* | Remove all \bcode / \ecode cruft; this is no longer needed. See previous | Fred Drake | 1998-02-13 | 1 | -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 Drake | 1997-12-16 | 1 | -1/+1 |
| | |||||
* | Ignore whitespace between formats (not internal to a count+format). | Guido van Rossum | 1997-08-26 | 1 | -0/+3 |
| | |||||
* | AMK's megapatch: | Guido van Rossum | 1997-07-17 | 1 | -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 Rossum | 1997-01-03 | 1 | -3/+1 |
| | |||||
* | Describe standard float/double support. | Guido van Rossum | 1997-01-03 | 1 | -6/+10 |
| | | | | Rewrite example to be an interactive session | ||||
* | Document the new extensions. | Guido van Rossum | 1996-12-31 | 1 | -9/+64 |
| | |||||
* | restructured library manual accordiung to functional group | Guido van Rossum | 1995-03-28 | 1 | -0/+3 |
| | |||||
* | mass changes; fix titles; add examples; correct typos; clarifications; | Guido van Rossum | 1995-03-17 | 1 | -1/+1 |
| | | | | unified style; etc. | ||||
* | changes (suggested) by Soren Larsen | Guido van Rossum | 1995-03-07 | 1 | -3/+3 |
| | |||||
* | Restructured library documentation | Guido van Rossum | 1994-01-02 | 1 | -0/+75 |