[Distutils] wordlength etc
Robin Becker
robin at jessikat.fsnet.co.uk
Sun Jun 29 20:00:09 EDT 2003
In article <3EFF188F.3020607 at lemburg.com>, M.-A. Lemburg
<mal at lemburg.com> writes
>Robin Becker wrote:
>> Are there standard ways to determine things like wordlength etc in
>> distutils?
>>
>> I suppose one can use sys.maxint, but I thought this might be a standard
>> kind of requirement now that we're slipping from 32 to 64 bits.
>
>I'd use the struct module for these things.
>
So we assume struct units are 8 bits and then use calcsize("i")*8 as the
wordlength.
--
Robin Becker
More information about the Distutils-SIG
mailing list