This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients ariebovenberg, docs@python, eric.smith, erlendaasland, vinay.sajip
Date 2022-01-02.15:21:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think there's definitely room for improvement here, and at face value I like the debugf() functions. __format__ style formatting solves a big problem for me: being able to provide format strings for timestamps.

One thing: I'd be careful about saying that delayed formatting is always a performance win. f-strings are so much faster, that if I'm reasonable sure a message is always going to get logged, I'll use an f-string. In my case, I never log any user-supplied data, although it's obviously a risk that should be warned against.
Date User Action Args
2022-01-02 15:21:49eric.smithsetrecipients: + eric.smith, vinay.sajip, docs@python, erlendaasland, ariebovenberg
2022-01-02 15:21:49eric.smithsetmessageid: <>
2022-01-02 15:21:49eric.smithlinkissue46200 messages
2022-01-02 15:21:49eric.smithcreate