summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-02-16 15:05:58 (GMT)
committerGitHub <noreply@github.com>2021-02-16 15:05:58 (GMT)
commitcc54001c2eb3b14320c1667b22602d69c90d5865 (patch)
tree1c4b39bfc9027e42b3f18c0cae147a8d0f7115e4 /Misc
parent17dbd4078b68db8954df6b5cdc40b786bc4ad7af (diff)
downloadcpython-cc54001c2eb3b14320c1667b22602d69c90d5865.zip
cpython-cc54001c2eb3b14320c1667b22602d69c90d5865.tar.gz
cpython-cc54001c2eb3b14320c1667b22602d69c90d5865.tar.bz2
bpo-40170: Always define PyIter_Check() as a function (GH-24548)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-02-15-15-06-43.bpo-40170.ZYeSii.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-02-15-15-06-43.bpo-40170.ZYeSii.rst b/Misc/NEWS.d/next/Core and Builtins/2021-02-15-15-06-43.bpo-40170.ZYeSii.rst
new file mode 100644
index 0000000..df6f3dc
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-02-15-15-06-43.bpo-40170.ZYeSii.rst
@@ -0,0 +1,3 @@
+:c:func:`PyIter_Check` is now always declared as a function, in order to hide implementation
+details. The macro accessed :c:member:`PyTypeObject.tp_iternext` directly.
+Patch by Erlend E. Aasland.