[Python-3000] sizeof(size_t) < sizeof(long)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 17 03:11:58 CEST 2008


Martin v. Löwis wrote:

> 3.6 byte
> addressable  unit  of  data storage large enough to hold any
> member  of  the  basic  character  set  of   the   execution
> environment

Blarg. Well, I think the wording of that part of the
standard is braindamaged. The word "byte" already has
a pre-existing meaning outside of C, and the C standard
shouldn't be redefining it for its own purposes.

This is like a financial document that defines "dollar"
as "the unit of currency in use in the country concerned".
Thoroughly confusing and unnecessary.

Particularly since they seem to just be defining "byte"
to mean the same thing as "char". Why not just use the
term "char" in the first place?

-- 
Greg


More information about the Python-3000 mailing list