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 veky
Recipients eric.smith, r.david.murray, rhettinger, serhiy.storchaka, veky
Date 2015-03-17.06:42:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426574552.64.0.482602225353.issue23624@psf.upfronthosting.co.za>
In-reply-to
Content
Only one detail to resolve: you say "format is quite capable of handing a variable width field".

It does, but not in a really nice way. Honestly, would you really rather see

    "{:^{}}".format(title, width)

than

    title.center(width)

? Nested formats are ugly, I think that's a consensus. :-) Not to mention that .center is more explicit about what's going on - that "^" is almost lost in that brace-forest.
History
Date User Action Args
2015-03-17 06:42:32vekysetrecipients: + veky, rhettinger, eric.smith, r.david.murray, serhiy.storchaka
2015-03-17 06:42:32vekysetmessageid: <1426574552.64.0.482602225353.issue23624@psf.upfronthosting.co.za>
2015-03-17 06:42:32vekylinkissue23624 messages
2015-03-17 06:42:32vekycreate