7 May
2020
7 May
'20
1:27 p.m.
On Thu, May 07, 2020 at 10:44:01PM +1200, Greg Ewing wrote:
On 7/05/20 9:11 pm, Steven D'Aprano wrote:
I'm initially going to use the ancient 1960s Fortran syntax and spell it `.EQ.`.
I know that syntax will not work in Python because it will be ambiguous.
I'm sure the new parser will handle it just fine!
Yes, but the *human readers* won't. You know that people will write things like: spam.EQ.ham and then nobody will know whether than means "call the .EQ. operator on operands spam and ham" or "lookup the ham attribute on the EQ attribute of spam" without looking up the parsing rules. Let's not turn into Ruby: https://lucumr.pocoo.org/2008/7/1/whitespace-sensitivity/ -- Steven