◐ Shell
clean mode source ↗

Message 299903 - Python tracker

On 3.6.1 on Windows, I get:

% python3 bpo-31140.py
  File "<fstring>", line 1
    (a>2s)
        ^
SyntaxError: invalid syntax

Which is far from ideal, but at least points to (a portion of) the correct text.

I won't have access to a copy of 3.6.2 or 3.7 until later today. Can you show the exact output from 3.6.2?