]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-138580: Revert sys.float_info.iec_60559 boolean flag (#146501)
authorSergey B Kirpichev <skirpichev@gmail.com>
Fri, 27 Mar 2026 10:29:15 +0000 (13:29 +0300)
committerGitHub <noreply@github.com>
Fri, 27 Mar 2026 10:29:15 +0000 (11:29 +0100)
commit256907d3aacdc8483ca8ae91740424ddbc17094d
tree8709af243ac1de53e22435237680449eb9db44d5
parent0c7a75aeef4dae87f02536ed4c42a57c13ef20e2
gh-138580: Revert sys.float_info.iec_60559 boolean flag (#146501)

This reverts commit 68c7fad757f3a99fca257d11ce61adb78128a66c.

It looks like on practice the __STDC_IEC_559__ doesn't indicate
conformance to the standard. It can't be used to filter out tests
or to give some promises in documentation. See discussion in
the reverted PR thread:
https://github.com/python/cpython/pull/138811#issuecomment-4117692418
Doc/library/math.rst
Doc/library/sys.rst
Doc/whatsnew/3.15.rst
Lib/test/test_sys.py
Misc/NEWS.d/next/Library/2025-09-12-07-30-13.gh-issue-138580.Qr_fSH.rst [deleted file]
Objects/floatobject.c