[Numpy-discussion] Style for pad implementation in 'pad' namespace or functions under np.lib

Ralf Gommers ralf.gommers@googlemail....
Wed Mar 28 14:57:31 CDT 2012

On Wed, Mar 28, 2012 at 9:31 PM, Tim Cera <tim@cerazone.net> wrote:

> I have been developing a set of pad functions to pad arrays in different
> ways.  Really close to having it accepted into numpy, but I want to revisit
> an implementation issue that I have become worried about.  Should these
> functions be collected into a 'pad' namespace or put raw into np.lib?
> Do I really care about this?  Not really since it isn't a utility issue,
> but I contend that it would look better to pull these functions into their
> own namespace.
> +1 one for a separate 'pad' or 'padding' namespace. Adding 10 functions to
the main numpy namespace feels like too much.


Is there a consensus?
> The current pull request:
> https://github.com/numpy/numpy/pull/242
> Kindest regards,
> Tim
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120328/a76d6c52/attachment.html 

More information about the NumPy-Discussion mailing list