summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorCF Bolz-Tereick <cfbolz@gmx.de>2024-12-27 01:03:47 (GMT)
committerGitHub <noreply@github.com>2024-12-27 01:03:47 (GMT)
commit401bba6b58497ce59e7b45ad33e43ae8c67abcb9 (patch)
tree2674719f2259b7ad3d15d3921eee06df22310618 /Misc
parentea2b53739f1128184b4140decbeffeac6cfe966f (diff)
downloadcpython-401bba6b58497ce59e7b45ad33e43ae8c67abcb9.zip
cpython-401bba6b58497ce59e7b45ad33e43ae8c67abcb9.tar.gz
cpython-401bba6b58497ce59e7b45ad33e43ae8c67abcb9.tar.bz2
gh-127537: Add __class_getitem__ to the python implementation of functools.partial (#127537)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2024-12-04-10-39-29.gh-issue-83662.CG1s3m.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-12-04-10-39-29.gh-issue-83662.CG1s3m.rst b/Misc/NEWS.d/next/Library/2024-12-04-10-39-29.gh-issue-83662.CG1s3m.rst
new file mode 100644
index 0000000..5e39933
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-12-04-10-39-29.gh-issue-83662.CG1s3m.rst
@@ -0,0 +1,5 @@
+Add missing ``__class_getitem__`` method to the Python implementation of
+:func:`functools.partial`, to make it compatible with the C version. This is
+mainly relevant for alternative Python implementations like PyPy and
+GraalPy, because CPython will usually use the C-implementation of that
+function.