[Python-Dev] Optimization of the Year (original) (raw)

Armin Rigo arigo at tunes.org
Tue Feb 10 18:51:57 EST 2004


Hello Guido,

On Tue, Feb 10, 2004 at 09:56:44AM -0800, Guido van Rossum wrote:

Good idea. We'd also have to break binary compatibility (of the List API) forcibly otherwise we could be fooled by 3rd party extensions compiled for older Python versions -- usually we're careful to keep binary compatibility.

Unfortunately, the existence of the PyList_GET_XXX macros means that perfectly legal extension modules would break if you do something like changing the order of the fields. Is it more important to try and keep binary compatibility for these 99%, or to force a reproducible segfault in the remaining 1%?

Armin



More information about the Python-Dev mailing list