diff options
author | Joe Marshall <joe.marshall@nottingham.ac.uk> | 2021-05-13 07:54:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-13 07:54:17 (GMT) |
commit | ab383eb6f03896b0ef6634ee3d776344fcb9e5b8 (patch) | |
tree | 6db1d14a4f0588a4e68d20122d1a2e3534f33ad7 /Misc | |
parent | b2f3f8e3d81b0bb0ba18f563d82c28ba133c0790 (diff) | |
download | cpython-ab383eb6f03896b0ef6634ee3d776344fcb9e5b8.zip cpython-ab383eb6f03896b0ef6634ee3d776344fcb9e5b8.tar.gz cpython-ab383eb6f03896b0ef6634ee3d776344fcb9e5b8.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2021-05-12-14-26-16.bpo-44114.p-WfAE.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-05-12-14-26-16.bpo-44114.p-WfAE.rst b/Misc/NEWS.d/next/Core and Builtins/2021-05-12-14-26-16.bpo-44114.p-WfAE.rst new file mode 100644 index 0000000..c50b159 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2021-05-12-14-26-16.bpo-44114.p-WfAE.rst @@ -0,0 +1 @@ +Fix incorrect dictkeys_reversed and dictitems_reversed function signatures in C code, which broke webassembly builds.
\ No newline at end of file |