[Python-Dev] 128 bit integer support

Meador Inge meadori at gmail.com
Thu Dec 5 13:56:18 CET 2013


On Wed, Dec 4, 2013 at 8:15 AM, Antoine Pitrou <solipsis at pitrou.net> 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 reasonable to me.  We already have support for "
for 8-bit, 16-bit, 32-bit, and 64-bit fixed sized integer types with
comparable names.  The struct module has the notion of a "standard size"
where the size is fixed, but we default to native.

-- Meador
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20131205/84623fd6/attachment.html>


More information about the Python-Dev mailing list