Jon wrote: > Can someone tell me an idiom to choose the right one? You can check the size of a void pointer with ctypes: >>> import ctypes >>> ctypes.sizeof(ctypes.c_void_p) * 8 32 Christian