[issue47196] Function pointer cast in test_imp
Hood Chatham
report at bugs.python.org
Fri Apr 1 20:01:51 EDT 2022
New submission from Hood Chatham <roberthoodchatham at gmail.com>:
The function PyInit_imp_dummy is declared as void f(PyObject* spec) and ignores the argument. In the test, it is called via imp.load_dynamic as void f(void). On wasm targets without the call trampolines added in
https://bugs.python.org/issue47162
this causes a fatal error. (There's a bit more discussion about this issue in that thread.)
----------
messages: 416524
nosy: christian.heimes, hoodchatham
priority: normal
severity: normal
status: open
title: Function pointer cast in test_imp
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47196>
_______________________________________
More information about the Python-bugs-list
mailing list