From: Russell E. O. <ro...@ce...> - 2006-07-10 18:17:41
|
In article <44A...@ie...>, Travis Oliphant <oli...@ie...> wrote: > 3) C-API names have prefix PyArray_ (like always), NPY_ or npy_. > > The NPY_ and npy_ prefixes are new and were done to remove the > likelihood of name collisions when NumPy is used with another > library. The old (and un-prefixed) names are accessible by > importing numpy/noprefix.h instead of numpy/arrayobject.h This may be too late or too picky, but... This seems like too many choices, leading to possible confusion when reading other people's extensions or the numpy code itself. Could you standardize on one (I like npy_) or two (if you have to keep PyArray_ for some reason and can't put it in a backwards-compatibility header somewhere). Overall it's great. I'm really glad to hear you're so close to freezing the features. -- Russell |