[Python-ideas] improving C structs layout

Paul Moore p.f.moore at gmail.com
Fri May 10 09:58:47 CEST 2013


On 10 May 2013 08:39, Chris Angelico <rosuav at gmail.com> wrote:

> > Certainly. It should not be done for public structs, which includes
> > basically everything that resides in header files. Modifying public
> structs
> > changes the ABI, so a module compiled for one CPython version would need
> to
> > be recompiled for the one that changes the structs *if* it uses them. I
> > don't think this change is worth that risk and hassle.
>
> Would that be a problem if the change is done only in 3.4, though?


It would affect the stable ABI. Structs in the stable ABI can't be changed
until Python 4, AIUI.

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130510/256ea26b/attachment.html>


More information about the Python-ideas mailing list