◐ Shell
clean mode source ↗

bpo-47196: Fix function pointer cast in test_imp by hoodmane · Pull Request #32244 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@hoodmane

The function PyInit_imp_dummy is declared as void f(PyObject* spec)
but called as void f(void). On wasm targets without the call
trampolines this causes a fatal error.

https://bugs.python.org/issue47196

Automerge-Triggered-By: GH:tiran

The function PyInit_imp_dummy is declared as void f(PyObject* spec)
but called as void f(void). On wasm targets without the call
trampolines this causes a fatal error.

tiran

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct to me. All other modules have an init function without an argument (grep -R -A1 PyMODINIT_FUNC Modules/).

@miss-islington

@hoodmane: Status check is done, and it's a success ✅ .

miss-islington pushed a commit that referenced this pull request

Apr 3, 2022
I missed one PyInit function in #32244.

Automerge-Triggered-By: GH:tiran

Labels