summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2018-07-11 08:42:49 (GMT)
committerGitHub <noreply@github.com>2018-07-11 08:42:49 (GMT)
commitd5c875bbf1ef9b24349d3243b1ffaab6a9d5a78e (patch)
tree69bb37b3de2214dc511f61eb4c2b57e9640c68c7 /Doc
parentda5e9476bbfbe61f7661fd22caba1b675e5b4397 (diff)
downloadcpython-d5c875bbf1ef9b24349d3243b1ffaab6a9d5a78e.zip
cpython-d5c875bbf1ef9b24349d3243b1ffaab6a9d5a78e.tar.gz
cpython-d5c875bbf1ef9b24349d3243b1ffaab6a9d5a78e.tar.bz2
bpo-33597: Add What's New for PyGC_Head (GH-8236)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.8.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 5fe1c71..ace814e 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -127,6 +127,10 @@ Optimizations
first introduced in Python 3.4. It offers better performance and smaller
size compared to Protocol 3 available since Python 3.0.
+* Removed one ``Py_ssize_t`` member from ``PyGC_Head``. All GC tracked
+ objects (e.g. tuple, list, dict) size is reduced 4 or 8 bytes.
+ (Contributed by Inada Naoki in :issue:`33597`)
+
Build and C API Changes
=======================
@@ -201,6 +205,10 @@ Changes in the Python API
* :func:`shutil.copyfile` default buffer size on Windows was changed from
16 KiB to 1 MiB.
+* ``PyGC_Head`` struct is changed completely. All code touched the
+ struct member should be rewritten. (See :issue:`33597`)
+
+
CPython bytecode changes
------------------------