Issue 7988: complex.format has incorrect default alignment (original) (raw)

Issue7988

Created on 2010-02-22 16:19 by eric.smith, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg99773 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2010-02-22 16:19
Complex uses left alignment by default, but should use right alignment like the other numeric types. >>> format(1+1j, '20.0') '(1+1j) ' >>> format(1.0, '20.0') ' 1e+00' >>> format(1, '20') ' 1'
msg99816 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2010-02-22 19:28
Checked in: trunk r78329 py3k r78333 release31-maint r78334
History
Date User Action Args
2022-04-11 14:56:58 admin set github: 52236
2010-02-22 19:28:15 eric.smith set status: open -> closedpriority: lowmessages: + resolution: acceptedstage: resolved
2010-02-22 16:19:02 eric.smith create