News for hackers. Stuff that matters.
Re:What’s New in Python 3.8 by Will_Do on Monday October 14, 2019 @06:14PM (#21253445)
What do you mean the old way?

Will it print what foo is if I type logger.info("{foo=}")?

Re:What’s New in Python 3.8 by zaphirplane on Monday October 14, 2019 @06:34PM (#21253586)
Logging.info(“%s %s”, name, country”) the string isn’t expanded if the logging is set to warn. While with your example the string is expanded then discarded