On 07/10/2019 15:43, Random832 wrote:
On Mon, Oct 7, 2019, at 10:02, Rhodri James wrote:
It would still break a lot of user __getitem__ implementations IHMO.

It is already possible to pass any object. The fact that passing an object that an object 
is not designed to accept won't get good results doesn't mean the ability to do so 
"breaks" anything. And all existing syntax would continue to result in the same 
object being passed to __getitem__.

You're right. Sorry, I have __getattr__ on the brain right now and totally misread what was written.

--
Rhodri James *-* Kynesim Ltd
_______________________________________________
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/7ZCQ6JST3LOI7M23GV5P7UREDT56GNTC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to