bugs.python.org

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:58adminsetgithub: 52236
2010-02-22 19:28:15eric.smithsetstatus: open -> closed
priority: low
messages: + msg99816

resolution: accepted
stage: resolved

2010-02-22 16:19:02eric.smithcreate

Read the original on bugs.python.org ↗