]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145633: Remove support for ancient ARM platforms with mixed-endian doubles (#145634)
authorSergey B Kirpichev <skirpichev@gmail.com>
Wed, 11 Mar 2026 11:39:24 +0000 (14:39 +0300)
committerGitHub <noreply@github.com>
Wed, 11 Mar 2026 11:39:24 +0000 (12:39 +0100)
commitdae85c4d9393b706657a4eb1febc71647a5f544e
tree33835e9be8cd2e81339867f3636569f0a8528c6f
parentbdf6de8c3f0c2ec0d737f38014a32c1eed02c7f1
gh-145633: Remove support for ancient ARM platforms with mixed-endian doubles (#145634)

* Drop DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 macro.
* Use DOUBLE_IS_BIG/LITTLE_ENDIAN_IEEE754 to detect endianness of
  float/doubles.
* Drop "unknown_format" code path in PyFloat_Pack/Unpack*().

Co-authored-by: Victor Stinner <vstinner@python.org>
14 files changed:
Doc/c-api/float.rst
Include/internal/pycore_floatobject.h
Include/internal/pycore_pymath.h
Include/internal/pycore_runtime_init.h
Include/internal/pycore_runtime_structs.h
Include/pymacconfig.h
Misc/NEWS.d/next/Build/2026-03-08-06-18-26.gh-issue-145633.Ogu-RF.rst [new file with mode: 0644]
Objects/clinic/floatobject.c.h
Objects/floatobject.c
Python/dtoa.c
Python/pylifecycle.c
configure
configure.ac
pyconfig.h.in