summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2022-01-14 18:54:56 (GMT)
committerGitHub <noreply@github.com>2022-01-14 18:54:56 (GMT)
commit025cbe7a9b5d3058ce2eb8015d3650e396004545 (patch)
treedbe02480ec23d31a72088bce7dd641d9bf45160e /Doc/whatsnew
parentee1a8b336d30476e9635a6826f61a99fc3604159 (diff)
downloadcpython-025cbe7a9b5d3058ce2eb8015d3650e396004545.zip
cpython-025cbe7a9b5d3058ce2eb8015d3650e396004545.tar.gz
cpython-025cbe7a9b5d3058ce2eb8015d3650e396004545.tar.bz2
bpo-45569: Change PYLONG_BITS_IN_DIGIT default to 30 (GH-30497)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.11.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 6a6c22c..96d6e26 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -622,6 +622,16 @@ Build Changes
like Pyodide.
(Contributed by Christian Heimes and Ethan Smith in :issue:`40280`.)
+* CPython will now use 30-bit digits by default for the Python :class:`int`
+ implementation. Previously, the default was to use 30-bit digits on platforms
+ with ``SIZEOF_VOID_P >= 8``, and 15-bit digits otherwise. It's still possible
+ to explicitly request use of 15-bit digits via either the
+ ``--enable-big-digits`` option to the configure script or (for Windows) the
+ ``PYLONG_BITS_IN_DIGIT`` variable in ``PC/pyconfig.h``, but this option may
+ be removed at some point in the future. (Contributed by Mark Dickinson in
+ :issue:`45569`.)
+
+
C API Changes
=============