Skip to content

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

Closed
miss-islington wants to merge 1 commit into
python:3.8from
miss-islington:backport-ab383eb-3.8
Closed

[3.8] bpo-44114: Fix dictkeys_reversed and dictvalues_reversed function signatures (GH-26062)#26094
miss-islington wants to merge 1 commit into
python:3.8from
miss-islington:backport-ab383eb-3.8

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

@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

Sorry, I can't merge this PR. Reason: You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information..

@iritkatriel

Copy link
Copy Markdown
Member

Since it's too late for 3.8, should this be closed?

@methane

methane commented May 22, 2021

Copy link
Copy Markdown
Member

I thought this PR and GH-26109 have been merged already.
But GH-26109 was rejected because 3.8 is closed for bug fixes.
So I close this too unless a security issue is caused by this bug.

@methane methane closed this May 22, 2021
@miss-islington miss-islington deleted the backport-ab383eb-3.8 branch May 22, 2021 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants