]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145633: Refine notes on non-IEEE platforms (#145845)
authorSergey B Kirpichev <skirpichev@gmail.com>
Thu, 19 Mar 2026 11:42:25 +0000 (14:42 +0300)
committerGitHub <noreply@github.com>
Thu, 19 Mar 2026 11:42:25 +0000 (11:42 +0000)
commit52c01864c4778a351e5aa3584e86ed6fd212a5a4
tree08359bb30c64f29618927d2f4dfe07c69c7019c6
parentced64605be2bcc4e4a3064aaed0ca569308458a0
gh-145633: Refine notes on non-IEEE platforms (#145845)

* We don't specify what happens on non-IEEE platforms.
* Use rather PY_LITTLE_ENDIAN to get native endianness.
* Mention that unpack functions don't fail in CPython.
* Mention that PyFloat_Pack8 doesn't fail in CPython.

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/c-api/float.rst
Doc/tools/.nitignore
Tools/check-c-api-docs/ignored_c_api.txt