On Thu, Dec 27, 2018 at 3:27 PM Juan Nunez-Iglesias wrote:
>
> On Fri, Dec 28, 2018, at 3:40 AM, Sebastian Berg wrote:
>
> > It’s consistent with np.newaxis in spelling (modulo the _)
> > If mistyped, it can be caught easily by IDEs.
> > It’s typeable with mypy, unlike constant string literals whi
On Fri, Dec 28, 2018, at 10:58 AM, Ralf Gommers wrote:
>
> Technically there's nothing we are deprecating. If anything, the one not
> super uncommon pattern will be that people use 0/1 instead of False/True,
> which works as expected now and will start raising in case we'd go with
> np.never_co
On Thu, Dec 27, 2018 at 3:27 PM Juan Nunez-Iglesias
wrote:
> On Fri, Dec 28, 2018, at 3:40 AM, Sebastian Berg wrote:
>
> > It’s consistent with np.newaxis in spelling (modulo the _)
> > If mistyped, it can be caught easily by IDEs.
> > It’s typeable with mypy, unlike constant string literals whic
On Fri, Dec 28, 2018, at 3:40 AM, Sebastian Berg wrote:
> > It’s consistent with np.newaxis in spelling (modulo the _)
> > If mistyped, it can be caught easily by IDEs.
> > It’s typeable with mypy, unlike constant string literals which
> > currently aren’t
> > If code written against new numpy is r
On Thu, 2018-12-27 at 14:50 +0100, Eric Wieser wrote:
> > I think np.never_copy is really ugly. I’d much rather simply use
> > ‘never’,
> >
>
> I actually think np.never_copy is the better choice of the two.
> Arguments for it:
>
> It’s consistent with np.newaxis in spelling (modulo the _)
> If
There is a long-standing request to require an explicit opt-in for
dtype=object: https://github.com/numpy/numpy/issues/5353
-- Marten
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion
I think np.never_copy is really ugly. I’d much rather simply use ‘never’,
I actually think np.never_copy is the better choice of the two. Arguments
for it:
- It’s consistent with np.newaxis in spelling (modulo the _)
- If mistyped, it can be caught easily by IDEs.
- It’s typeable with my
On Wed, 2018-12-26 at 16:40 -0800, Ralf Gommers wrote:
>
>
> On Wed, Dec 26, 2018 at 3:29 PM Sebastian Berg <
> sebast...@sipsolutions.net> wrote:
> > Hi all,
> >
> > In https://github.com/numpy/numpy/pull/11897 I am looking into the
> > addition of a `copy=np.never_copy` argument to:
> > * np