[Numpy-discussion] _sort module.

Mark Wiebe mwwiebe at gmail.com
Mon Jun 6 10:58:20 EDT 2011


On Sat, Jun 4, 2011 at 1:34 PM, Charles R Harris
<charlesr.harris at gmail.com>wrote:

> Hi All,
>
> Numpy has a _sort module which contains *no* methods and whose only purpose
> is to modify the type descriptors by adding pointers to the sorting
> functions when it is loaded. Consequently _sort is imported early in
> numpy/core/__init__.py and is otherwise unused. This really doesn't seem
> right. I would like to make the sorting functions into a library or at least
> link them directly as part of the build process. I'd also like to move them
> into their own directory and break them up into several files in the process
> of adding more functions for order statistics.
>
> Thoughts?
>

Sounds good to me, I think this belongs in core, and core itself should be
split up into subdirectories like you're describing.

-Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110606/f8049599/attachment.html>


More information about the NumPy-Discussion mailing list