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 <ri...@teachey.org> wrote: > > 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 > > -- 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/TVDJHXCDPL4POOFMF4WKKDAPIRHJ4LUO/ Code of Conduct: http://python.org/psf/codeofconduct/