This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients amaury.forgeotdarc, eryksun, iritkatriel, meador.inge, poq, python-dev, terry.reedy, vladris
Date 2021-12-09.13:37:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639057077.71.0.934547041652.issue12142@roundup.psfhosted.org>
In-reply-to
Content
The _ctypes extension module could have a dict that maps each format code to its (size, alignment), based on `formattable`. Then direct size comparisons wouldn't be limited to types defined by the struct module, and it wouldn't be necessary to create c_longdouble just to check its size and throw it away.
History
Date User Action Args
2021-12-09 13:37:57eryksunsetrecipients: + eryksun, terry.reedy, amaury.forgeotdarc, meador.inge, python-dev, poq, vladris, iritkatriel
2021-12-09 13:37:57eryksunsetmessageid: <1639057077.71.0.934547041652.issue12142@roundup.psfhosted.org>
2021-12-09 13:37:57eryksunlinkissue12142 messages
2021-12-09 13:37:57eryksuncreate