Terry J. Reedy added the comment: I considered the directive, but I mildly prefer the code change.
end = ' ') guarantees a blank between fields even if one formats a too-large number end = '') does not add a blank to the end. end = '' if base == 'b' else ' ') does both (but depends on having a 'last field' condition. I actual practice, I might use the third option. However, if you do the commit, it is your choice. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16154> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com