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 vstinner
Recipients colesbury, gregory.p.smith, pablogsal, pitrou, serhiy.storchaka, vstinner
Date 2022-01-21.17:49:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642787364.95.0.750647962086.issue40120@roundup.psfhosted.org>
In-reply-to
Content
#ifdef __cplusplus
    char array[1];
#else
    char array[];
#endif

Does it change the size of the structure between C and C++, sizeof(PyBytesObject)? Also, does the size of the struture matter? :-) I guess that the impart part is the ABI: offset of the members.
History
Date User Action Args
2022-01-21 17:49:24vstinnersetrecipients: + vstinner, gregory.p.smith, pitrou, serhiy.storchaka, colesbury, pablogsal
2022-01-21 17:49:24vstinnersetmessageid: <1642787364.95.0.750647962086.issue40120@roundup.psfhosted.org>
2022-01-21 17:49:24vstinnerlinkissue40120 messages
2022-01-21 17:49:24vstinnercreate