summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-12-14 11:12:53 (GMT)
committerGitHub <noreply@github.com>2022-12-14 11:12:53 (GMT)
commit6997e77bdf2297375962aaf82876da4e7ecdd61a (patch)
tree7f6540eecbb66fd373b22e944163bdcb436f245b /Misc
parent985a71032bf055240e61259285a0b4925c925383 (diff)
downloadcpython-6997e77bdf2297375962aaf82876da4e7ecdd61a.zip
cpython-6997e77bdf2297375962aaf82876da4e7ecdd61a.tar.gz
cpython-6997e77bdf2297375962aaf82876da4e7ecdd61a.tar.bz2
GH-100222: Redefine _Py_CODEUNIT as a union to clarify structure of code unit. (GH-100223)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-12-13-16-05-18.gh-issue-100222.OVVvYe.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-12-13-16-05-18.gh-issue-100222.OVVvYe.rst b/Misc/NEWS.d/next/Core and Builtins/2022-12-13-16-05-18.gh-issue-100222.OVVvYe.rst
new file mode 100644
index 0000000..032b494
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-12-13-16-05-18.gh-issue-100222.OVVvYe.rst
@@ -0,0 +1,2 @@
+Redefine the ``_Py_CODEUNIT`` typedef as a union to describe its layout to
+the C compiler, avoiding type punning and improving clarity.