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, georg.brandl, mark.dickinson, terry.reedy
Date 2009-05-08.09:02:24
SpamBayes Score 2.7855496e-13
Marked as misclassified No
Message-id <1241773346.49.0.741301308664.issue5963@psf.upfronthosting.co.za>
In-reply-to
Content
"integer presentation types" is still not exactly correct, because there
are presentation types that work across value types. Specifically, 'n'
works on integers and floats. Precision is allowed for floats, but not ints:

>>> format(10.0, '.4n')
'10'
>>> format(10, '.4n')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Precision not allowed in integer format specifier

Without getting into all sorts of language lawyering, I think it's good
enough as-is.
History
Date User Action Args
2009-05-08 09:02:26eric.smithsetrecipients: + eric.smith, georg.brandl, terry.reedy, mark.dickinson
2009-05-08 09:02:26eric.smithsetmessageid: <1241773346.49.0.741301308664.issue5963@psf.upfronthosting.co.za>
2009-05-08 09:02:25eric.smithlinkissue5963 messages
2009-05-08 09:02:24eric.smithcreate