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 gregory.p.smith
Recipients dirn, eric.smith, gregory.p.smith, serhiy.storchaka, steven.daprano, xtreak
Date 2019-05-02.17:26:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556817973.45.0.513807277452.issue36774@roundup.psfhosted.org>
In-reply-to
Content
regarding issue28307 - It is not always correct to convert a %d %u %i used to render v into f'{int(v)}'.  That'd lose the TypeError when v is not an integer.

If you are looking at making internal private conversions for the purposes of that issue, I think they should be things that'll never conflict with a normal public API token that might be used in the future. (ie: don't reserve 'd' 'i' or 'f' for internal only use - use special values)  i'm being vague on purpose here as i don't know how f-strings are parsed and tokenized.
History
Date User Action Args
2019-05-02 17:26:13gregory.p.smithsetrecipients: + gregory.p.smith, eric.smith, steven.daprano, dirn, serhiy.storchaka, xtreak
2019-05-02 17:26:13gregory.p.smithsetmessageid: <1556817973.45.0.513807277452.issue36774@roundup.psfhosted.org>
2019-05-02 17:26:13gregory.p.smithlinkissue36774 messages
2019-05-02 17:26:13gregory.p.smithcreate