[Python-Dev] mingw32 and gc-header weirdness

Antoine Pitrou solipsis at pitrou.net
Sat Jul 25 13:30:13 CEST 2009


Martin v. Löwis <martin <at> v.loewis.de> writes:
> 
> > In addition to that union, we should also have a particular mechanism to 
compute
> > what the proper offset should be between the PyGC_Head and the PyObject.
> 
> Why is that difficult? It's sizeof(PyGC_Head).

Is it enough to correctly propagate the alignment for, say, a long double in
the following PyObject? I'm sorry, I'm not enough of a C lawyer.

Regards

Antoine.




More information about the Python-Dev mailing list