f triple quote string error
message = f""" Traceback (most recent call last): Python Shell, prompt 9, line 1 Syntax Error: EOF while scanning triple-quoted string literal: <string>, line 1, pos 15
I can type the same in IDLE and no error. This seems to be specific to WING when trying to type a multi-line f-string.
Comments
I did just discover that I must put a space after "f" for this to work:
message = f """
when I hit enter I don't get an error. Still strange though because I was just following a tutorial online and got this error, and had no error when I tried IDLE.
It looks like the code that's determine whether a line is complete is not handling things like f"", b"", etc, correctly. We'll try to fix this soon. The only work-around I could come up with is typing it in an editor and using Source > Evaluate Selection in Python Shell. Thanks for reporting this!