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

Stéfan van der Walt stefan@sun.ac...
Sun May 10 07:15:17 CDT 2009

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.

The hash file can be loaded in one line with

np.loadtxt('/tmp/dat.dat', usecols=(0, 2), dtype=[('api', 'S10'),
('hash', 'S32')])

The rest looks good.


More information about the Numpy-discussion mailing list