]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35560: Remove assertion from format(float, "n") (GH-11288)
authorXtreak <tir.karthi@gmail.com>
Mon, 7 Jan 2019 15:09:14 +0000 (20:39 +0530)
committerVictor Stinner <vstinner@redhat.com>
Mon, 7 Jan 2019 15:09:14 +0000 (16:09 +0100)
commit3f7983a25a3d19779283c707fbdd5bc91b1587ef
treebe67585aae69489545dcccfa2938a3274b811b7e
parenta0bb51e44cd43a7d2836a96a3804162203e44514
bpo-35560: Remove assertion from format(float, "n") (GH-11288)

Fix an assertion error in format() in debug build for floating point
formatting with "n" format, zero padding and small width. Release build is
not impacted. Patch by Karthikeyan Singaravelan.
Lib/test/test_float.py
Misc/NEWS.d/next/Core and Builtins/2018-12-22-22-19-51.bpo-35560.9vMWSP.rst [new file with mode: 0644]
Objects/unicodeobject.c