Message210354
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:46 | eric.smith | set | recipients:
+ eric.smith, ezio.melotti, r.david.murray |
2014-02-06 00:32:46 | eric.smith | set | messageid: <1391646766.84.0.115109498489.issue20524@psf.upfronthosting.co.za> |
2014-02-06 00:32:46 | eric.smith | link | issue20524 messages |
2014-02-06 00:32:46 | eric.smith | create | |
|