codepod-io / codepod

Codepod IDE: Scalable Interactive Coding
https://codepod.io
MIT License
74 stars 15 forks source link

f-string throws name undefined #437

Open senwang86 opened 1 year ago

senwang86 commented 1 year ago

Is it a known issue? The f-string throws name undefined error.

Screenshot 2023-08-07 at 11 40 07 AM
lihebi commented 1 year ago

Not known. Good catch. It's not handled in our parser, and we need to handle it.

li-xin-yi commented 1 year ago

I found a similar problem in the expression passed to eval() function.

image
lihebi commented 1 year ago

Nice catch, thanks! Let's get it fixed at some point.