Vedran Čačić added the comment:

We can make a poll, I think it is quite obvious. But that's not really the 
point.

I would accept the solution enabling _both_ methods of rounding with _both_ 
methods of formatting (it isn't even very hard to do: .center can take 
additional argument, mandatory keyword if necessary, and format can use "=" for 
.center centering, or if you're worried about confusion with numeric types, 
invent another symbol - or even use "^" with alternative format "#").

But I can't accept that "there is no obviously correct method" be a reason for 
.center and format doing it in two different ways. I'm convinced nobody 
switches from format to .center _because_ they want another method of 
distributing fills. They switch, like I did, because a constand-width field has 
become variable-width, and nested formats are ugly - and then have to deal with 
things breaking, writing 4 lines where previously there was only 1, checking 
remainders by 2 here and there, and having a hard time generally. And never 
being sure if it's correct, since the real behaviour is undocumented. :-(

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23624>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to