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, serhiy.storchaka, vstinner
Date 2020-04-03.12:08:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585915695.41.0.402257087469.issue40120@roundup.psfhosted.org>
In-reply-to
Content
For me, the most sane option is to make structures opaque in the C API, and then flexible array members.

I did something similar for atomic types. First, we got tons of build isssues with various C compilers and then with C++ compilers. I moved the header to our "internal C API", so basically I removed it from the public C API. Since that time, we stopped to get bug reports about pyatomic.h :-)
History
Date User Action Args
2020-04-03 12:08:15vstinnersetrecipients: + vstinner, gregory.p.smith, serhiy.storchaka, colesbury, pablogsal
2020-04-03 12:08:15vstinnersetmessageid: <1585915695.41.0.402257087469.issue40120@roundup.psfhosted.org>
2020-04-03 12:08:15vstinnerlinkissue40120 messages
2020-04-03 12:08:15vstinnercreate