[New-bugs-announce] [issue1789] incorrect assumption about unsigned long byte size

Christopher Yeleighton report at bugs.python.org
Fri Jan 11 12:31:13 CET 2008


New submission from Christopher Yeleighton:

Text of section 11.3 "Working with Binary Data Record Layouts" at
<http://docs.python.org/tut/node13.html#SECTION0013300000000000000000>
incorrectly assumes that unsigned long is 4 bytes long (with pack codes
"H" and "L" representing two and four byte unsigned numbers
respectively).  It is may be a valid description of the author’s
environment, but it is invalid as a general statement and it creates the
wrong impression that the sample programme is portable and ready-to-go.

----------
components: Documentation
messages: 59704
nosy: spe-anatol
severity: normal
status: open
title: incorrect assumption about unsigned long byte size
type: behavior
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1789>
__________________________________


More information about the New-bugs-announce mailing list