[issue3163] module struct support for ssize_t and size_t

Mark Dickinson report at bugs.python.org
Mon Jun 14 18:55:06 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

The proposed addition seems reasonable to me, for native packing and unpacking.

For standard mode packing and unpacking, I don't see the point;  we'd have to pick a standard size, which would almost certainly be either 4 or 8, and so would already be covered by either the 'iI' or the 'qQ' codes.  So I'd suggest adding the size_t/ssize_t codes only for native mode, and leaving them unsupported for the standard modes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3163>
_______________________________________


More information about the Python-bugs-list mailing list