
Sept. 30, 2020
12:56 a.m.
On Tue, 29 Sep 2020 at 22:31, <henryfs@princeton.edu> wrote:
Furthermore, you currently can't tell the difference between `x[(a, b)]` and `x[a, b]`; with the new function, libraries could differentiate, and maybe eventually make them behave reasonably (you can always use x[*c] if you already have a tuple, just like for a function, and it's one of the rare / only places where list vs. tuple matters in Python).
You still would not be able to. The semantics of that operation are unchanged (for backward compatibility) -- Kind regards, Stefano Borini