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 ned.deily
Recipients aubmoon, ned.deily
Date 2014-02-28.22:32:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393626724.02.0.301898191611.issue20811@psf.upfronthosting.co.za>
In-reply-to
Content
I think you are misunderstanding the meaning of the width component (e.g. the 10 in your example) of a format specification.  As described in the documentation, width is a decimal integer defining the *minimum* field width, not the *maximum* field width.  As necessary, the generated field will be as long as necessary to represent the item as requested by the format spec, but it will be at least "width" characters long.

http://docs.python.org/3.3/library/string.html#format-specification-mini-language
History
Date User Action Args
2014-02-28 22:32:04ned.deilysetrecipients: + ned.deily, aubmoon
2014-02-28 22:32:04ned.deilysetmessageid: <1393626724.02.0.301898191611.issue20811@psf.upfronthosting.co.za>
2014-02-28 22:32:03ned.deilylinkissue20811 messages
2014-02-28 22:32:03ned.deilycreate