[Numpy-discussion] Detecting C API mismatch (was Managing Python with NumPy and many external libraries on multiple Windows machines)

David Cournapeau david@ar.media.kyoto-u.ac...
Sun May 10 21:35:11 CDT 2009

Stéfan van der Walt wrote:
> 2009/5/10 David Cournapeau <cournape@gmail.com>:
>> I worked on some code to detect C API mismatches both for developers
>> and for users:
>> http://github.com/cournape/numpy/tree/runtime_feature
> Great, thanks for taking care of this!
> I think the message "ABI version %%x of C-API" is unclear, maybe
> simply use "ABI version %%x" on its own.

Ok, I changed it.

> The hash file can be loaded in one line with
> np.loadtxt('/tmp/dat.dat', usecols=(0, 2), dtype=[('api', 'S10'),
> ('hash', 'S32')])

Well, we need to do this at build time, and we can't assume numpy is
already installed when building numpy :)


More information about the Numpy-discussion mailing list