We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python 3.9 Unsupported opcode: MAP_ADD Unsupported Node type: 12
The text was updated successfully, but these errors were encountered:
This is interesting... MAP_ADD opcode is present in the code base
maybe you hit the yellow marked case...
Sorry, something went wrong.
Reproduced on Ubuntu 22.04 (python 3.10), with latest pycdc version:
$ cat t.py && python3 -m compileall t.py && pycdc __pycache__/t.cpython-310.pyc d = { 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1, 9: 1, 10: 1, 11: 1, 12: 1, 13: 1, 14: 1, 15: 1, 16: 1, } # Source Generated with Decompyle++ # File: t.cpython-310.pyc (Python 3.10) Unsupported opcode: MAP_ADD # WARNING: Decompyle incomplete
The issue does not happen with less than 16 elements in the dictionary so I'm guessing some form of optimization for small dict is in play.
Might actually be a different issue. OP is mentioning python 3.9 and I can't reproduce on it.
Moreover, my issue look a lot like numba/numba#7894 which is python 3.10 related.
Should I open another issue?
No branches or pull requests
python 3.9
Unsupported opcode: MAP_ADD
Unsupported Node type: 12
The text was updated successfully, but these errors were encountered: