##// END OF EJS Templates
MAINT: don't use f-strings in logs...
MAINT: don't use f-strings in logs There are many reason not to use f-string in logs, - F-strings are eager, so might be slow. - prevent structured logging or handler to highlight. - Security (untrusted input can lead to DOS on formatting, https://discuss.python.org/t/safer-logging-methods-for-f-strings-and-new-style-formatting/13802) - Performance (we can filter before formatting).
Matthias Bussonnier -
r28051:bef3df12
Show More
Name Size Modified Last Commit Author
/ IPython
core
extensions
external
lib
sphinxext
terminal
testing
tests
utils
__init__.py Loading ...
__main__.py Loading ...
conftest.py Loading ...
consoleapp.py Loading ...
display.py Loading ...
paths.py Loading ...
py.typed Loading ...