Skip to content

[3.10] bpo-44114: Fix dictkeys_reversed and dictvalues_reversed function signatures (GH-26062)#26092

Merged
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-ab383eb-3.10
May 13, 2021
Merged

[3.10] bpo-44114: Fix dictkeys_reversed and dictvalues_reversed function signatures (GH-26062)#26092
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-ab383eb-3.10

Conversation

@miss-islington

@miss-islington miss-islington commented May 13, 2021

Copy link
Copy Markdown
Contributor

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.
(cherry picked from commit ab383eb)

Co-authored-by: Joe Marshall joe.marshall@nottingham.ac.uk

https://bugs.python.org/issue44114

…natures (pythonGH-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.
(cherry picked from commit ab383eb)

Co-authored-by: Joe Marshall <joe.marshall@nottingham.ac.uk>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@joemarshall and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington

Copy link
Copy Markdown
Contributor Author

@joemarshall and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 7cbe6ca into python:3.10 May 13, 2021
@miss-islington miss-islington deleted the backport-ab383eb-3.10 branch May 13, 2021 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants