Re: [Python-Dev] Python-Dev Digest, Vol 125, Issue 5

2013-12-05 Thread Fil Mackay
Hi Antoine, > 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 > > long). "q" is considered to be a length of

[Python-Dev] 128 bit integer support

2013-12-04 Thread Fil Mackay
I have been doing some research on getting "int128_t" supported in Python, and have hit a snag: 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 (