Mark Dickinson <dicki...@gmail.com> added the comment: With your patch, I'm getting quite strange results when using alignment specifiers:
>>> z = 123+4j >>> format(z, '=20') '( 123+ 4j)' >>> format(z, '^20') '( 123 +4 j)' >>> format(z, '<20') '(123 +4 j)' >>> len(format(z, '<20')) 43 Is this intentional? I was expecting to get strings of length 20, with the substring '(123+4j)' positioned either in the middle or on the left or right. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1588> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com