> * e.g. the same user might initially be happy about the result of x[0] + 1 
> matching their infinite-precision expectation, but then be surprised by
> 
> x[0] + 1
> -> 256
> 
> y[0] = 1
> x[0] + y[0]
> -> 0  # WTH

I'll go even further: I would say a common situation where people use syntax 
like x[0] + 1 is in sanity checks/tests. In which case, it's *very bad* to have 
different behaviour between x[0] + 1 (e.g. when checking code) and x + 1 (e.g. 
in production code).
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to