![](https://secure.gravatar.com/avatar/f5fbb1b29965fe8ce3ff0b6b8461d61e.jpg?s=120&d=mm&r=g)
Ricky, I'd love new dunders too but it would explode in complexity. The likelihood of being approved is pretty much non-existent as far as I understand. If you want, we can write together a competing PEP with that solution, so that the Steering Council can have two ideas. I would not mind exploring that option a bit more, but it's likely to become an exercise. On Fri, 25 Sep 2020 at 22:06, Ricky Teachey <ricky@teachey.org> wrote:
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
-- Kind regards, Stefano Borini