<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Doc/lib/libstruct.tex, branch v2.5b2</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>Fixed typo in new 'p' description.</title>
<updated>2001-09-15T18:16:27+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-15T18:16:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=9177e0843de580c07d460d2fbcf408856a94d80c'/>
<id>9177e0843de580c07d460d2fbcf408856a94d80c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SF bug [#461674] struct 'p' format doesn't work (maybe)</title>
<updated>2001-09-15T18:09:22+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-15T18:09:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=85726e5e80a15ea65b3a138c8e05c20f7c7fa9d6'/>
<id>85726e5e80a15ea65b3a138c8e05c20f7c7fa9d6</id>
<content type='text'>
Rewrote the 'p' description.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rewrote the 'p' description.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix up a few style nits -- avoid "e.g." and "i.e." -- these make</title>
<updated>2001-07-06T20:30:11+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-07-06T20:30:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=d45d8364b25f7acea04dd1449cbe67a7c199439a'/>
<id>d45d8364b25f7acea04dd1449cbe67a7c199439a</id>
<content type='text'>
translation more difficult, as well as reading the English more
difficult for non-native speakers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
translation more difficult, as well as reading the English more
difficult for non-native speakers.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a version annotation for the Q and q format codes.</title>
<updated>2001-06-15T14:13:07+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-06-15T14:13:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=065e21ecd768c600cd61a00496f11c07e3c427d8'/>
<id>065e21ecd768c600cd61a00496f11c07e3c427d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added q/Q standard (x-platform 8-byte ints) mode in struct module.</title>
<updated>2001-06-12T01:22:22+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-12T01:22:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=afc86946634d396cc0ce2d297ddbdf9beeaa2423'/>
<id>afc86946634d396cc0ce2d297ddbdf9beeaa2423</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial support for 'q' and 'Q' struct format codes:  for now, only in</title>
<updated>2001-06-10T23:40:19+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-10T23:40:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=c9eb6d90fa6103764b9d94861d93cdfe640c7a15'/>
<id>c9eb6d90fa6103764b9d94861d93cdfe640c7a15</id>
<content type='text'>
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) &gt;= 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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) &gt;= 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.</title>
<updated>2001-01-24T17:19:08+00:00</updated>
<author>
<name>Ka-Ping Yee</name>
<email>ping@zesty.ca</email>
</author>
<published>2001-01-24T17:19:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=e784640cc7939c69379f193b4ef7e98dce8d5f41'/>
<id>e784640cc7939c69379f193b4ef7e98dce8d5f41</id>
<content type='text'>
Switch from octal escapes to hex escapes for other nonprintable characters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch from octal escapes to hex escapes for other nonprintable characters.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged changes from the 1.5.2p2 release.</title>
<updated>2000-04-03T20:13:55+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-04-03T20:13:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=f79f910e3db0f589305b3d30796c820629101528'/>
<id>f79f910e3db0f589305b3d30796c820629101528</id>
<content type='text'>
(Very rough.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(Very rough.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Added additional index entries.</title>
<updated>1999-08-24T20:16:29+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>1999-08-24T20:16:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=00007833ced48df2755e9533ddbb19ca9b2c6c56'/>
<id>00007833ced48df2755e9533ddbb19ca9b2c6c56</id>
<content type='text'>
Minor markup nits.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Minor markup nits.
</pre>
</div>
</content>
</entry>
<entry>
<title>Oops; minor nit in example: none of the other interactive examples</title>
<updated>1999-04-21T16:00:24+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>1999-04-21T16:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=11fb5fd1ac80c37143fdb526818bfe3c0c643ccb'/>
<id>11fb5fd1ac80c37143fdb526818bfe3c0c643ccb</id>
<content type='text'>
show the "trailing" prompt, so don't show it here!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
show the "trailing" prompt, so don't show it here!
</pre>
</div>
</content>
</entry>
</feed>
