I’m getting this error when I try to use the “Run Selection/Line in Python Terminal” feature. I.e. when I run code with indents (if statements, functions) the selection is indented incorrectly in the terminal. Copy+paste works fine.
The error looks exactly the same as the video in the vscode github issue.
I do not get this error in vscode itself (as far as I can tell I have the same settings).