strange thing about boolean expressions?

Bill Janssen (janssen@parc.xerox.com)
Mon, 25 Oct 1993 17:35:16 PDT

Why can't I use the following?

v = None
x = v or 'foo'

I get a syntax error. Aren't boolean expressions valid on the
right hand side of an assignment? I'd imagine that this evals
to 'foo'.

Bill