Message416522
| 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:49 | hoodchatham | set | recipients:
+ hoodchatham, christian.heimes, miss-islington |
| 2022年04月01日 23:48:49 | hoodchatham | set | messageid: <1648856929.27.0.649883261355.issue47162@roundup.psfhosted.org> |
| 2022年04月01日 23:48:49 | hoodchatham | link | issue47162 messages |
| 2022年04月01日 23:48:49 | hoodchatham | create |
|