[3.7] bpo-35560: Remove assertion from format(float, "n") (GH-11288) by miss-islington · Pull Request #11458 · python/cpython

@tirkarthi @miss-islington

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 3f7983a)

Co-authored-by: Xtreak <tir.karthi@gmail.com>

vstinner