On Sat, 4 Sept 2021 at 16:33, Brendan Barnwell <[email protected]> wrote: > > In other words, currently `*` can turn what looks like one function > call with one thing inside it into one function call with several things > inside it. You are proposing to make it so `*` can turn one indexing > operation with one thing inside it into several indexing operations each > with one thing inside it. I think that is quite different.
I'm not strongly against your conclusion, but I think the two use of `*` are analogous in fact. Consider for instance, ``` from functools import partial curry = partial(partial, partial) F = curry(curry(f)) ``` Now F has the same amount of information as f does in the sense that e.g., `f(1,2,3)` is equivalent to `F(1)(2)(3)`. I suspect the proposer's idea comes from an analogy to this. Best regards, Takuo _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/E36KIVUA7Z2VLJQDICSFJHF2JBLWQVMU/ Code of Conduct: http://python.org/psf/codeofconduct/
