Closed chriselion closed 4 years ago
interesting! yeah the number-fixing code should leave fstrings alone (it was written before they existed!)
Here's the actual code that broke from this:
(now being rewritten to use only f-strings)
thanks for the report! this should be fixed in v2.7.1
I understand that this is an edge-case because the input was buggy, but it does convert running code into non-running code.
I'm not sure what the right behavior is in this case; maybe just don't touch numbered args inside an f-string?