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 eric.smith, ezio.melotti, r.david.murray
Date 2014-02-06.00:32:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
That would be a great improvement. It's in Python/formatter_unicode.c, line 245, in parse_internal_render_format_spec().

That code knows about the format spec, but not the type being formatted. That would be easy enough to pass in.

This fix would only work for the built-in types: int, float, and str, I think. Maybe complex. But that's probably good enough.
Date User Action Args
2014-02-06 00:32:46eric.smithsetrecipients: + eric.smith, ezio.melotti, r.david.murray
2014-02-06 00:32:46eric.smithsetmessageid: <>
2014-02-06 00:32:46eric.smithlinkissue20524 messages
2014-02-06 00:32:46eric.smithcreate