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 skrah
Recipients Eric.Wieser, amaury.forgeotdarc, belopolsky, meador.inge, skrah, teoliphant, terry.reedy
Date 2019-04-14.21:12:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555276376.65.0.488531640339.issue32782@roundup.psfhosted.org>
In-reply-to
Content
I agree that it is a ctypes issue, itemsize should be equal to struct.calcsize(fmt), which is never 0 for normal PEP-3118 types like the one in the example.



[Pedantically, I think that the grammar would allow for an empty record "T{}" that would have itemsize 0 but is of little use inside numpy.]
History
Date User Action Args
2019-04-14 21:12:56skrahsetrecipients: + skrah, terry.reedy, teoliphant, amaury.forgeotdarc, belopolsky, meador.inge, Eric.Wieser
2019-04-14 21:12:56skrahsetmessageid: <1555276376.65.0.488531640339.issue32782@roundup.psfhosted.org>
2019-04-14 21:12:56skrahlinkissue32782 messages
2019-04-14 21:12:56skrahcreate