On Fri, Sep 25, 2020 at 4:57 PM Stefano Borini <stefano.bor...@gmail.com> wrote:
> 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 * 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
_______________________________________________ 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/BSCNXKAAOB5V72AJULUXP5MDKAY7CGZQ/ Code of Conduct: http://python.org/psf/codeofconduct/