Author jitterman
Recipients jitterman
Date 2020-02-10.16:48:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It appears as if escaping the braces by doubling them up is not working properly if the braces are in a format specification within a f-string.

>>> print(f'Email:\n    {C:{{}} {{}}|\n    }')                         
Traceback (most recent call last):
  File "", line 95, in <module>
    print(f'Email:\n    {C:{{}} {{}}|\n    }')
NameError: name 'v' is not defined

The escaping works as expected when the string's format method is used.
Date User Action Args
2020-02-10 16:48:04jittermansetrecipients: + jitterman
2020-02-10 16:48:04jittermansetmessageid: <>
2020-02-10 16:48:04jittermanlinkissue39601 messages
2020-02-10 16:48:04jittermancreate