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.