[issue39694] Incorrect dictionary unpacking when calling str.format
Eric V. Smith
report at bugs.python.org
Thu Feb 20 10:57:34 EST 2020
Eric V. Smith <eric at trueblade.com> added the comment:
Okay, then I agree with Serhiy on the change.
And I agree that .format(**locals()) is an anti-pattern, and should use .format_map(locals()) instead. Not that it's related directly to this issue, I just like to point it out where I can.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39694>
_______________________________________
More information about the Python-bugs-list
mailing list