vscode-code-runner icon indicating copy to clipboard operation
vscode-code-runner copied to clipboard

[Feature request]

Open Dibyajyoti-08 opened this issue 1 year ago • 1 comments

I was running a code which uses the logic of generator using python, when i run the code, it showed me the following error, File "/home/phytec/Downloads/bin_test/pseudo.py", line 10 yield from loc(limit) ^ SyntaxError: invalid syntax

yeild from is the syntax for the python generator which was introduces in the 3.3 version, not in the earlier versions

Meanwhile i also run the code manually in the terminal using python3 command it worked.

So, to me the Code Runner is not running the latest version of python.

I do request to update the version of the python to the latest one.

Best regards, DJ

Dibyajyoti-08 avatar Jul 31 '24 12:07 Dibyajyoti-08

So, to me the Code Runner is not running the latest version of python.

you can change your map executor setting to use python3 instead of python. this is a python issue

ericchase avatar Oct 17 '25 11:10 ericchase