This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hoodchatham
Recipients christian.heimes, hoodchatham, miss-islington
Date 2022-04-01.23:48:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648856929.27.0.649883261355.issue47162@roundup.psfhosted.org>
In-reply-to
Content
As an update, building the chrome devtools with the wasm limit set to 12Mb following that guide worked fantastic. Highly recommend it. (Though there are a few paths that are out of date, I had to consult google's devtools docs.)

The problem is that `PyInit_imp_dummy` takes a spec argument which it ignores. Then the test calls it without a spec.
https://github.com/python/cpython/blob/082d3495d0c820972f09f6109a98ed7eb5a7b79f/Modules/_testmultiphase.c#L897

Minimized trigger:
```
import importlib
import imp
spec = importlib.util.find_spec('_testmultiphase')
imp.load_dynamic("test.imp_dummy", spec.origin)
```
Causes `RuntimeError: null function or function signature mismatch`
History
Date User Action Args
2022-04-01 23:48:49hoodchathamsetrecipients: + hoodchatham, christian.heimes, miss-islington
2022-04-01 23:48:49hoodchathamsetmessageid: <1648856929.27.0.649883261355.issue47162@roundup.psfhosted.org>
2022-04-01 23:48:49hoodchathamlinkissue47162 messages
2022-04-01 23:48:49hoodchathamcreate