summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorFilipe LaĆ­ns <lains@riseup.net>2021-02-28 22:43:19 (GMT)
committerGitHub <noreply@github.com>2021-02-28 22:43:19 (GMT)
commit0d7ad9fb38c041c46094087b0cf2c8ce44916b11 (patch)
treee0d20ee25c2d74126a6e4b4c3c1638e54c27806c /Misc/NEWS.d
parentaf5fa13ef6f648fc7a7a33a7556db13887e7d643 (diff)
downloadcpython-0d7ad9fb38c041c46094087b0cf2c8ce44916b11.zip
cpython-0d7ad9fb38c041c46094087b0cf2c8ce44916b11.tar.gz
cpython-0d7ad9fb38c041c46094087b0cf2c8ce44916b11.tar.bz2
bpo-29753: fix merging packed bitfields in ctypes struct/union (GH-19850)
From the commit message: > When the structure is packed we should always expand when needed, > otherwise we will add some padding between the fields. This patch makes > sure we always merge bitfields together. It also changes the field merging > algorithm so that it handles bitfields correctly. Automerge-Triggered-By: GH:jaraco
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2020-05-02-01-01-30.bpo-29753.n2M-AF.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-05-02-01-01-30.bpo-29753.n2M-AF.rst b/Misc/NEWS.d/next/Library/2020-05-02-01-01-30.bpo-29753.n2M-AF.rst
new file mode 100644
index 0000000..f2a2842
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-05-02-01-01-30.bpo-29753.n2M-AF.rst
@@ -0,0 +1 @@
+In ctypes, now packed bitfields are calculated properly and the first item of packed bitfields is now shrank correctly.