[Python-Dev] Compiler used to build Python for Windows

"Martin v. Löwis" martin at v.loewis.de
Wed Mar 12 07:55:00 CET 2008


>> To implement such a system, you need to get all ABI dependencies out
>> of the header files; this includes the structure layouts in particular.
> 
> That could hurt the performance of some things. Macros
> like PyList_GET_ITEM etc. rely on knowing about struct
> layouts to get at things quickly.

OTOH, they are discouraged for use outside the core already.
Use PyList_GetItem, and you won't notice the difference.

Regards,
Martin



More information about the Python-Dev mailing list