Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2021-06-23.07:26:04.217>labels= ['3.8', 'type-bug', 'library']
title='string.Formatter class not allowing {.field}'updated_at=<Date2021-11-03.13:39:08.555>user='https://bugs.python.org/avdwoude'
I expected the custom Formatter to behave the same as the normal "".format() function, but unnamed args or not supported.
Below is an example, which fails at a KeyError.
Activity
avdwoude commented on Jun 23, 2021
I expected the custom Formatter to behave the same as the normal "".format() function, but unnamed args or not supported.
Below is an example, which fails at a KeyError.
print("Normal format() is {.msg}".format(t))
ericvsmith commented on Nov 3, 2021
I think this is a dupe of bpo-27307.
encukou commented on Jan 31, 2025
Fixed by: #21767