Issue #5864: format(1234.5, '.4') gives misleading result
commit5bd45fe46b1c25307508847fbcb5b38ba45a29da
authormark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 29 Apr 2009 20:41:00 +0000 (29 20:41 +0000)
committermark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 29 Apr 2009 20:41:00 +0000 (29 20:41 +0000)
treea288a95fc9bd0e6b97bae5f69c784f01dd2387fe
parent48bfc83fc2369a94b4cff28081f6f74da6ed03fc
Issue #5864: format(1234.5, '.4') gives misleading result
(Backport of r72109 from py3k.)

git-svn-id: http://svn.python.org/projects/python/trunk@72119 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_float.py
Misc/NEWS
Python/pystrtod.c