Eric Smith <[email protected]> added the comment:
The format string is valid. Sorry for the noise. The fill character of
'a' threw me off.
With my suggested change to decimal.py, line 5595, in py3k:
>>> from decimal import *
>>> format(Decimal("0.12345"), "a=-7.0")
'aaaa0.1'
>>> format(0.12345, "a=-7.0")
'aaaa0.1'
>>>
If float has the wrong alignment, could you open another issue with an
example?
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6850>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com