[issue46200] Discourage logging f-strings due to security considerations

Arie Bovenberg report at bugs.python.org
Fri Dec 31 08:07:27 EST 2021


Arie Bovenberg <a.c.bovenberg at gmail.com> added the comment:

Absolutely agree! In practice I find some people are not swayed by this argument -- and prefer the readability of f-strings. 

My expectation is that a clear recommendation in the official docs will convince more people. Especially if there are security concerns.

Do you have an opinion on the 3 questions I highlighted?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46200>
_______________________________________


More information about the Python-bugs-list mailing list