Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:3.9from
miss-islington:backport-ab383eb-3.9
May 16, 2021
Merged

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

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 ✅ .

2 similar comments
@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 ✅ .

@serhiy-storchaka serhiy-storchaka merged commit 925cb85 into python:3.9 May 16, 2021
@miss-islington miss-islington deleted the backport-ab383eb-3.9 branch May 16, 2021 14:34
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