Author eric.smith
Recipients eric.smith, shubham.25powertech, vinay.sajip
Date 2020-09-14.15:17:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600096664.38.0.0594942824479.issue41782@roundup.psfhosted.org>
In-reply-to
Content
Vinay raises a good point about performance that's well worth being aware of, especially with expensive objects (as he says). But since f-strings are much faster than other formatting (and especially .format()), there's a tradeoff. If I have something that I know is likely to be logged, sometimes I'll format it with f-strings.
History
Date User Action Args
2020-09-14 15:17:44eric.smithsetrecipients: + eric.smith, vinay.sajip, shubham.25powertech
2020-09-14 15:17:44eric.smithsetmessageid: <1600096664.38.0.0594942824479.issue41782@roundup.psfhosted.org>
2020-09-14 15:17:44eric.smithlinkissue41782 messages
2020-09-14 15:17:44eric.smithcreate