]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38631: Avoid Py_FatalError() in float.__getformat__() (GH-17232)
authorVictor Stinner <vstinner@python.org>
Mon, 18 Nov 2019 16:39:48 +0000 (17:39 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Nov 2019 16:39:48 +0000 (17:39 +0100)
commit04394df74b3d0783893da7dafa7803a003516402
tree0b3febf63a8ae95b3094b14f43a0bfa268b15b93
parentf49f6baa6bf7916ac039194c24b59d2eff5b180a
bpo-38631: Avoid Py_FatalError() in float.__getformat__() (GH-17232)

Replace Py_FatalError() with a regular RuntimeError exception in
float.__getformat__().
Misc/NEWS.d/next/Core and Builtins/2019-11-18-17-10-20.bpo-38631.tRHaAk.rst [new file with mode: 0644]
Objects/floatobject.c