Will McGugan wrote:
> [EMAIL PROTECTED] wrote:
> 
>> I tried that. Still get an Overflowerror: unsigned long is less than
>> minimum.
>>
> 
> You'll also need to reserve enough space for the 256 ints. Try this..
> 
> data = array('L', '\0' * 256*4)
> 
> 

I don't understand. Why not just do the whole thing simply and cleanly, 
like this:

data = array('L', 256 * [0xffffffff])


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to