On Fri, 25 Sep 2020 at 14:07, Ricky Teachey <ri...@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-Support-for-indexing-with-keyword-arguments-td48489.html



-- 
Kind regards,

Stefano Borini
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/5CGHSL5G3ILP5FLX4PY4VDGSRAXKOL3S/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to