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 Dennis Sweeney, efbqenb, eric.smith, ezio.melotti, vstinner
Date 2021-07-20.18:02:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626804134.25.0.499979665609.issue44683@roundup.psfhosted.org>
In-reply-to
Content
Yes, this is a "feature" of str.format. If it looks like a number, it's converted to a number, else it's used as a string. It's generally the most useful way to interpret subscripts, but as you note it doesn't handle all cases.
History
Date User Action Args
2021-07-20 18:02:14eric.smithsetrecipients: + eric.smith, vstinner, ezio.melotti, Dennis Sweeney, efbqenb
2021-07-20 18:02:14eric.smithsetmessageid: <1626804134.25.0.499979665609.issue44683@roundup.psfhosted.org>
2021-07-20 18:02:14eric.smithlinkissue44683 messages
2021-07-20 18:02:14eric.smithcreate