[Numpy-discussion] [SciPy-user] Managing Python with NumPy and many external libraries on multiple Windows machines

Charles R Harris charlesr.harris at gmail.com
Tue Apr 28 14:43:19 EDT 2009


2009/4/28 Stéfan van der Walt <stefan at sun.ac.za>

> 2009/4/28 David Cournapeau <cournape at gmail.com>:
> > the header file is not very reliable. More generally, I think we
> > should have a way to track C API and ABI relatively to the number
> > version, as well as automatically generate the related documentation.
>
> We can already do this: simply choose a convention for NPY_VERSION and
> NPY_FEATURE_VERSION so that they are related.
>

NPY_VERSION has been 0x01000009 since 1.0. NPY_FEATURE_VERSION was added for
1.2, but is useless since it can't be obtained through the API. I suggest we
keep only NPY_VERSION but split it into two parts, the upper 16 bits for ABI
changes that require extensions to be recompiled, and the lower 16 bits for
API changes that are backward compatible, so that the next release should
have version 0x0100000A. What to do with the current release is another
question. If we change the version for a bugfix release it won't be
compatible with 1.3.0. Hmm...

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090428/c98052d3/attachment.html>


More information about the NumPy-Discussion mailing list