[Distutils] Platform naming standardization

David Cournapeau cournape at gmail.com
Wed Jan 13 09:59:42 CET 2010

On Wed, Jan 13, 2010 at 5:47 PM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:

> Because at the end, If i understand the need correctly, it will be
> used where get_platform()
> is used today

I don't think that's true - get_platform only returns the platform. It
has been used for ABI check by accident, and if you look at the
current distutils documentation, nothings hints about ABI
compatibility issues. Certainly, the *concepts* of platform (as
described in distutils doc) and ABI have nothing to do with each

As for what the hypothetical function, it should at least contain the
python version, UCS 2 vs 4, debug vs release vs other special builds
(which are all incompatible with each other, at least on some
platforms), the C runtime you link against, the compiler, etc... Just
to cite what causes trouble in numpy's case - and I don't see why any
sufficiently complicated C extension would not have the same kind of



More information about the Distutils-SIG mailing list