Conversation
|
Hi! On 58450cb, the following code: Gives me the following traceback: This is just an FYI, to record the error. Please ignore if you know about it already! Thanks |
|
I don't get that. Can you try a clean build? Or maybe bump the MAGIC NUMBER in Lib/importlib/_bootstrap_external.py and then a clean build? |
|
Hi I've put together a Dockerfile that reproduces the issue. Can't see anything funky in what it's doing: https://gist.github.com/stestagg/7c7094365ff328c5558c3d0ea4213099 But consistenly get unknown opcode. It uses clang, gcc gives the same result, only slower. uname: Thanks! |
|
Thanks, could be a system dependent thing I'm missing (I'm developing on windows). |
ec3671f to
cdcc93a
Compare
cdcc93a to
1485431
Compare
|
The above issue I raised still exists on the latest version of the code. I took a look, and it seems like you may need to run This is because supported compilers (I'm guessing not vc) will use a fast-path vtable for opcodes that bypasses the big switch statement dispatch in ceval.c (hence the TARGET() macro). This has to be rebuilt for new opcodes. You can see the difference in opcode_targets.h, the 47th entry is currently _unknown_opcode, and running the above changes it to this: Thanks |
I see, thank you. I will do this once I finish some changes I'm making. |
|
This PR is stale because it has been open for 30 days with no activity. |
TODO: