From: Yukihiro Matsumoto Date: 2005-02-06T10:13:41+09:00 Subject: Re: 'when (cond):' causes SyntaxError Hi, In message "Re: 'when (cond):' causes SyntaxError" on Sun, 6 Feb 2005 09:58:51 +0900, "NAKAMURA, Hiroshi" writes: |The following script causes SyntaxError under 1.9, only at 'when |(cond):' case. 1.8.2 seems to allow both 'if (cond):' and 'when |(cond):' cases. Whitespace(s) after ':' resolves the error. Accidental |or unavoidable syntax abyss? A bug. matz.