Re: [Python-Dev] 128 bit integer support

2013-12-05 Thread Meador Inge
On Wed, Dec 4, 2013 at 8:15 AM, Antoine Pitrou wrote: Aren't you talking about the struct module? In ctypes, it seems it > would be sufficient to add a "c_int128" type (and/or "c_uint128"). Even in ctypes these codes are used internally for the field descriptors. For ctypes "c_int128" seems rea

Re: [Python-Dev] 128 bit integer support

2013-12-04 Thread Antoine Pitrou
Hi Fil, On Wed, 4 Dec 2013 23:17:11 +1100 Fil Mackay wrote: > > I've found that libffi does support this type, but sadly ctypes and cffi do > not. Adding to ctypes does not seem to be trivial, since the description of > an integer type is limited to a single character ("q" in the case of long >