8000 `descr_set_trampoline_call` return type should be `int` not `PyObject*` · Issue #99443 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

descr_set_trampoline_call return type should be int not PyObject* #99443

New issue
10000

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hoodmane opened this issue Nov 13, 2022 · 2 comments
Closed

descr_set_trampoline_call return type should be int not PyObject* #99443

hoodmane opened this issue Nov 13, 2022 · 2 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@hoodmane
Copy link
Contributor
hoodmane commented Nov 13, 2022

getset_set return type is int, descr_set_trampoline_call's return type needs to be the same. I think this was a copy-paste error that occurred when applying my patch where descr_set_trampoline_call returns int:
https://github.com/pyodide/pyodide/blob/main/cpython/patches/0001-Patch-in-call-trampolines-to-handle-fpcast-troubles.patch

Linked PRs

@hoodmane
Copy link
Contributor Author
hoodmane commented Nov 14, 2022

See also #91318. This comes up from Pyodide's upgrade to Python 3.11. I'm not sure why I didn't notice it before.

@tiran

gvanrossum pushed a commit that referenced this issue Nov 16, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 16, 2022
…t` not `PyObject*` (pythonGH-99444)

(cherry picked from commit bc390dd)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
miss-islington added a commit that referenced this issue Nov 16, 2022
… `PyObject*` (GH-99444)

(cherry picked from commit bc390dd)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
@hauntsaninja
Copy link
Contributor

Thanks for fixing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants
0