Author seblin
Recipients eric.smith, seblin, serhiy.storchaka
Date 2018-12-14.14:56:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The same behavior applies to f'{spam[}' and f'{spam(}'. Also to f'{spam{}', but that might be expected.

This message is more clear:
>>> f'{spam('
  File "<stdin>", line 1
SyntaxError: f-string: mismatched '(', '{', or '['

Perhaps you want to apply that to the above error cases. Then you wouldn't have to catch any type of bracket. :-)
Date User Action Args
2018-12-14 14:56:07seblinsetrecipients: + seblin, eric.smith, serhiy.storchaka
2018-12-14 14:56:07seblinsetmessageid: <>
2018-12-14 14:56:07seblinlinkissue35494 messages
2018-12-14 14:56:07seblincreate