Antoine Pitrou added the comment: > Of course any integer length could be handled by memoryview unpacker, > but this would not really make sense for int64. My view is that any > intrinsic type (ie. register type) is the key point at which it should > be supported by struct, and not a custom unpacker. 128/256/512 bit > integers are in this category..
I don't think "register types" matter here. The struct module provides interoperability with low-level *data types* (in C and other common languages), not CPU *registers*. So IMHO the question is whether there is an use case for 128-bit integers; *not* for arrays of four 32-bit integers packed in a 128-bit register. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19904> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com