[Python-ideas] Re: Ricky Teachey's email to me on PEP 637, and my responses

2020-10-28 Thread Jonathan Fine
Christopher Barker and Stephen J. Turnbull wrote: > As a statement clause separator, which becomes ambiguous: > > if thing: x > Yes. Very good. Well done, both of you. Now consider this. PEP 643 allows for things like obj[a=x:y] and "may open up the open the possibility" of allowing

[Python-ideas] Re: Ricky Teachey's email to me on PEP 637, and my responses

2020-10-28 Thread Christopher Barker
On Tue, Oct 27, 2020 at 11:24 PM Chris Angelico wrote: > On Wed, Oct 28, 2020 at 5:12 PM Stephen J. Turnbull > wrote: > > > thing[i,j,k] is exactly equivalent to thing[(i,j,k)] because the > tuple is > > > "created by" the parentheses. > > > > Is that correct? As I understand it, the tuple is