]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35560: Remove assertion from format(float, "n") (GH-11288)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 7 Jan 2019 15:26:20 +0000 (07:26 -0800)
committerGitHub <noreply@github.com>
Mon, 7 Jan 2019 15:26:20 +0000 (07:26 -0800)
commit9a413faa8708e5c2df509e97d48f18685c198b24
tree70f5333f38a6693f9b4a9f7c422d6a5115d2bbe0
parent65ed9f31cf2239b4d41d959b270f5d5dd0adcdbe
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.
(cherry picked from commit 3f7983a25a3d19779283c707fbdd5bc91b1587ef)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
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