Message86683
> I think a ValueError would be best. That way if we decide to give it
> some meaning in the future, we know it won't change any working code.
Agreed. It also fits with the way that other non-numeric types seem to
behave, as in:
>>> format("boris", "030s")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: '=' alignment not allowed in string format specifier |
|
Date |
User |
Action |
Args |
2009-04-27 17:04:15 | mark.dickinson | set | recipients:
+ mark.dickinson, gvanrossum, eric.smith, ajaksu2, mark |
2009-04-27 17:04:15 | mark.dickinson | set | messageid: <1240851855.24.0.731821183393.issue1588@psf.upfronthosting.co.za> |
2009-04-27 17:04:14 | mark.dickinson | link | issue1588 messages |
2009-04-27 17:04:13 | mark.dickinson | create | |
|