10 May
2018
10 May
'18
9:08 a.m.
On Thu, May 10, 2018 at 7:04 PM, M.-A. Lemburg
Not sure whether this was discussed before (I'm not really following the discussion), but what happens if you write:
check = 0 and (a := 1)
? Will "a" get assigned or not ?
No, it won't. It's the same as any other side effects after an 'and' - that expression is completely not evaluated. ChrisA