[Numpy-discussion] #4808 -- let np.pad default to constant

Paul Hobson pmhobson at gmail.com
Wed Mar 13 20:02:37 EDT 2019


As a user, I think this is a good change.

On Wed, Mar 13, 2019 at 2:05 PM Warren Weckesser <warren.weckesser at gmail.com>
wrote:

> On 3/13/19, Stefan van der Walt <stefanv at berkeley.edu> wrote:
> > In PR 4808, I propose changing the default padding mode (for `np.pad`)
> > to constant (0).
>
> +1
>
> Warren
>
> >
> > It was suggested that I mention the change here, in case someone has a
> > use case or argument for not making it.
> >
> > https://github.com/numpy/numpy/pull/4808
> >
> > Thanks!
> > Stéfan
> > _______________________________________________
> > NumPy-Discussion mailing list
> > NumPy-Discussion at python.org
> > https://mail.python.org/mailman/listinfo/numpy-discussion
> >
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190313/9393bce8/attachment-0001.html>


More information about the NumPy-Discussion mailing list