2006-11-15 14:20:56 |
David Cournapeau |
description |
Binary package hint: python2.5
I have recently checked some of my python+ctypes code on python25 to find it did not work. After quite some time, I found out that ctypes.c_longlong is 32 bits.
I checked on two different machines (both edgy on x86). To reproduce the result, just execute :
python2.5 -c "from ctypes import c_longlong, sizeof; print sizeof(c_longlong)"
It will prints 4 instead of 8.
A manually installed python prints 8, so there is a problem in the packaging somewhere. Note that this problem is not present in python2.4-ctypes. |
Binary package hint: python2.5
I have recently checked some of my python+ctypes code on python2.5 to find it did not work. After quite some time, I found out that ctypes.c_longlong is 32 bits, whereas it should be 64 bits.
I checked on two different machines (both edgy on x86). To reproduce the result, just execute :
python2.5 -c "from ctypes import c_longlong, sizeof; print sizeof(c_longlong)"
It will prints 4 instead of 8.
A manually installed python prints 8, so there is a problem in the packaging somewhere. Note that this problem is not present in python2.4-ctypes. Also, and I guess this is related, ctypes.c_int64 is not available. |
|