3 ms·
I’m thinking with a little tomfoolery you could get the python version to mimic the parentheses paradox without having to overload the array access operator. I’
by UncleEntity 4y ago
I’m thinking with a little tomfoolery you could get the python version to mimic the parentheses paradox without having to overload the array access operator. I’d have to think about how much the call order would matter and how much hackery it would take if it did. I think it could be made to work by abusing the attribute lookup function, I did something similar in a project but it didn’t pass information from the general to specific (if that’s even required for this).
The real question is if you’d want to as it wouldn’t be very pythonic.