]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44114: Fix dictkeys_reversed and dictvalues_reversed function signatures (GH...
authorJoe Marshall <joe.marshall@nottingham.ac.uk>
Thu, 13 May 2021 07:54:17 +0000 (08:54 +0100)
committerGitHub <noreply@github.com>
Thu, 13 May 2021 07:54:17 +0000 (10:54 +0300)
commitab383eb6f03896b0ef6634ee3d776344fcb9e5b8
tree6db1d14a4f0588a4e68d20122d1a2e3534f33ad7
parentb2f3f8e3d81b0bb0ba18f563d82c28ba133c0790
bpo-44114: Fix dictkeys_reversed and dictvalues_reversed function signatures (GH-26062)

These are passed and called as PyCFunction, however they are defined here without the (ignored) args parameter.

This works fine in some C compilers, but fails in webassembly or anything else that has strict function pointer call type checking.
Misc/NEWS.d/next/Core and Builtins/2021-05-12-14-26-16.bpo-44114.p-WfAE.rst [new file with mode: 0644]
Objects/dictobject.c