[Python-Dev] PEP 384: Defining a Stable ABI

Antoine Pitrou solipsis at pitrou.net
Mon May 18 00:43:30 CEST 2009


Dirkjan Ochtman <dirkjan <at> ochtman.nl> writes:
> 
> It would seem to me that optimizations are likely to require data
> structure changes, for exactly the kind of core data structures that
> you're talking about locking down. But that's just a high-level view,
> I might be wrong.

Unless I'm misunderstanding something, Martin doesn't advocate locking data
structures down (except a couple of outliers such as Py_buffer). An
ABI-compliant application mustn't tinker directly with Python's data structures,
but use the ABI functions.

Regards

Antoine.




More information about the Python-Dev mailing list