English-like Python

Scott David Daniels Scott.Daniels at Acm.Org
Wed Jan 21 15:50:43 EST 2009


Benjamin J. Racine wrote:
> I think it would be a good step if you could make some sensible interpretation of a typical statement without its parentheses.
> 
> f "abc" 123
> -->
> f( "abc", 123 )
> 
> It would be just the thing in a couple of situations... though it does conflict with raw-string literals as stated: r"abc"... which if you left open, would be susceptible to a local definition of r!.  Maybe you could put it after, like numeric literals: 123L, "abc"r, which is not bad.

Surely this would require that
   f( "abc", 123 )
   -->
   f(("abc", 123))
Or would you require that tuple-formation is "special"?

--Scott David Daniels
Scott.Daniels at Acm.Org




More information about the Python-list mailing list