[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 at sun.ac.za
Sun May 10 08:15:17 EDT 2009
2009/5/10 David Cournapeau <cournape at 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.
Cheers
Stéfan
More information about the NumPy-Discussion
mailing list