This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients SDesch, eric.smith
Date 2021-11-05.15:04:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636124675.61.0.296453348985.issue45704@roundup.psfhosted.org>
In-reply-to
Content
I think your code is rational. But since string.Formatter gets such little use, I'm not sure it's worth adding this to the stdlib. On the other hand, it could be used internal to string.Formatter.

We'd need to pick a better name, though. And maybe it should return the field_name as an int.
History
Date User Action Args
2021-11-05 15:04:35eric.smithsetrecipients: + eric.smith, SDesch
2021-11-05 15:04:35eric.smithsetmessageid: <1636124675.61.0.296453348985.issue45704@roundup.psfhosted.org>
2021-11-05 15:04:35eric.smithlinkissue45704 messages
2021-11-05 15:04:35eric.smithcreate