
On Fri, Sep 25, 2020 at 4:57 PM Stefano Borini <stefano.borini@gmail.com> wrote:
On Fri, 25 Sep 2020 at 14:07, Ricky Teachey <ricky@teachey.org> wrote:
I'd like to hear more about why the empty tuple has been selected as the
default index.
It's still not settled. Steven proposed None, I propose empty tuple for affinity with *args behavior, others proposed no positional arg at all, but then there's the problem of the setter. I sent a mail to the numpy mailing list yesterday, and all people who replied seemed to prefer empty tuple.
Here is the thread
http://numpy-discussion.10968.n7.nabble.com/Request-for-comments-on-PEP-637-...
-- Kind regards,
Stefano Borini
* sheepishly, whispering mostly to myself * All of that could be solved with new dunders. --- Ricky. "I've never met a Kentucky man who wasn't either thinking about going home or actually going home." - Happy Chandler