I can reproduce this behaviour on several Ubuntu boxes with '--with- system-ffi'.
Actually the ctypes unittests throw errors with this configuration, and eventually die with a segfault. It would probably be a good idea to insert some runtime checks in ctypes itself, the sizes of the various c_... types should be compared with the sizes that the struct module calculates. This will not fix the bug but would avoid that users are bitten by it. -- python2.5 compiled with libffi does not support ctypes 64 bits integer https://launchpad.net/bugs/72505 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
