diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 3df6ff4873b72e..fb907c1ae67207 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -16,6 +16,9 @@ Features required to build CPython: point numbers and `floating point Not-a-Number (NaN) `_. +* `Two's complement `_ + integer representation. + * Support for threads. * OpenSSL 1.1.1 or newer for the :mod:`ssl` and :mod:`hashlib` modules. diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 6f5ce818d961a5..855e5675d9657c 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -711,6 +711,12 @@ Build Changes optimization levels (0, 1, 2) at once. (Contributed by Victor Stinner in :gh:`99289`.) +* Building Python now requires `two's complement + `_ integer representation: + drop support for platforms with other `signed number representations + `_. + (Contributed by Victor Stinner in :gh:`100008`.) + C API Changes ============= diff --git a/Misc/NEWS.d/next/Build/2022-12-05-17-07-49.gh-issue-100008.dlTVxs.rst b/Misc/NEWS.d/next/Build/2022-12-05-17-07-49.gh-issue-100008.dlTVxs.rst new file mode 100644 index 00000000000000..3368f98bfffdd8 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2022-12-05-17-07-49.gh-issue-100008.dlTVxs.rst @@ -0,0 +1,5 @@ +Building Python now requires `two's complement +`_ integer representation: +drop support for platforms with other `signed number representations +`_. +Patch by Victor Stinner.