[issue5864] format(1234.5, '.4') gives misleading result

Mark Dickinson report at bugs.python.org
Wed Apr 29 18:09:00 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

> I think it's now always called.

I think you're right.  I've moved remove_trailing_zeros further up, out of 
the #ifdef PY_NO_SHORT_FLOAT_REPR.

----------
Added file: http://bugs.python.org/file13816/issue5864_v2.patch

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


More information about the Python-bugs-list mailing list