codepod icon indicating copy to clipboard operation
codepod copied to clipboard

f-string throws name undefined

Open senwang86 opened this issue 1 year ago • 3 comments

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

Screenshot 2023-08-07 at 11 40 07 AM

senwang86 avatar Aug 07 '23 18:08 senwang86

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

lihebi avatar Aug 07 '23 19:08 lihebi

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

image

li-xin-yi avatar Sep 13 '23 23:09 li-xin-yi

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

lihebi avatar Sep 14 '23 00:09 lihebi