summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-02-16 07:50:00 (GMT)
committerGitHub <noreply@github.com>2021-02-16 07:50:00 (GMT)
commit871eb4237b9be95263ca13ba8856e78344eb9eba (patch)
tree25e8e7ac21e5656233c0111593e0de37e304ce65 /Misc
parent8a8b5df93f379f561aab4f2fc5b2ad54f5009f7a (diff)
downloadcpython-871eb4237b9be95263ca13ba8856e78344eb9eba.zip
cpython-871eb4237b9be95263ca13ba8856e78344eb9eba.tar.gz
cpython-871eb4237b9be95263ca13ba8856e78344eb9eba.tar.bz2
bpo-40170: Convert PyDescr_IsData() to static inline function (GH-24535)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-02-15-13-41-14.bpo-40170.r2FAtl.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-02-15-13-41-14.bpo-40170.r2FAtl.rst b/Misc/NEWS.d/next/Core and Builtins/2021-02-15-13-41-14.bpo-40170.r2FAtl.rst
new file mode 100644
index 0000000..82e844b
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-02-15-13-41-14.bpo-40170.r2FAtl.rst
@@ -0,0 +1,3 @@
+Convert :c:func:`PyDescr_IsData` macro to a function to hide implementation
+details: The macro accessed :c:member:`PyTypeObject.tp_descr_set` directly.
+Patch by Erlend E. Aasland.