Author vinay.sajip
Recipients eric.smith, shubham.25powertech, vinay.sajip
Date 2020-09-14.15:09:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600096154.73.0.355132448335.issue41782@roundup.psfhosted.org>
In-reply-to
Content
It's as Eric said. So I'll close this issue as "not a bug". An additional point - by using f-strings, you may be doing unnecessary string formatting - e.g. if the event doesn't actually get handled because of logger or handler level or filter settings. It's worse if any of the parameters in the f-string are expensive to compute, as they would effectively be thrown away if the event were not to be handled.
History
Date User Action Args
2020-09-14 15:09:14vinay.sajipsetrecipients: + vinay.sajip, eric.smith, shubham.25powertech
2020-09-14 15:09:14vinay.sajipsetmessageid: <1600096154.73.0.355132448335.issue41782@roundup.psfhosted.org>
2020-09-14 15:09:14vinay.sajiplinkissue41782 messages
2020-09-14 15:09:14vinay.sajipcreate