]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-130317: Fix strict aliasing in PyFloat_Pack8() (#133150)
authorVictor Stinner <vstinner@python.org>
Tue, 29 Apr 2025 14:27:50 +0000 (16:27 +0200)
committerGitHub <noreply@github.com>
Tue, 29 Apr 2025 14:27:50 +0000 (14:27 +0000)
commit02cd6d709709e28c7a8fa62ce3620ea000b524d3
tree2e82f2449fdd541fd2729f0844dab002d7893b58
parent698c6e3a0cdbff4150674b0b831cf1ef27efecc8
gh-130317: Fix strict aliasing in PyFloat_Pack8() (#133150)

* Fix strict aliasing in PyFloat_Pack8() and PyFloat_Pack4().
* Fix _testcapi.float_set_snan() on x86 (32-bit).
Modules/_testcapi/float.c
Objects/floatobject.c