[issue6857] float().__format__() default alignment

Stefan Krah report at bugs.python.org
Mon Sep 7 17:46:48 CEST 2009


New submission from Stefan Krah <stefan-usenet at bytereef.org>:

format(float("0.12345"), "7.0")  ->  '    0.1'

The default alignment should be 'left-aligned'.

----------
messages: 92370
nosy: skrah
severity: normal
status: open
title: float().__format__() default alignment
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6857>
_______________________________________


More information about the Python-bugs-list mailing list