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 mark.dickinson
Recipients ajaksu2, eric.smith, gvanrossum, mark, mark.dickinson
Date 2009-04-27.17:04:13
SpamBayes Score 1.2029266e-13
Marked as misclassified No
Message-id <1240851855.24.0.731821183393.issue1588@psf.upfronthosting.co.za>
In-reply-to
Content
> 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
History
Date User Action Args
2009-04-27 17:04:15mark.dickinsonsetrecipients: + mark.dickinson, gvanrossum, eric.smith, ajaksu2, mark
2009-04-27 17:04:15mark.dickinsonsetmessageid: <1240851855.24.0.731821183393.issue1588@psf.upfronthosting.co.za>
2009-04-27 17:04:14mark.dickinsonlinkissue1588 messages
2009-04-27 17:04:13mark.dickinsoncreate