The CACHE opcode is a new 3.11+ opcode which is kind of a NOP but is used by some other opcodes to store cache information for specialization. A map of <opcode number> -> <number of CACHEs needed> is in `dis._inline_cache_entries` if that helps with this. _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/3NUHWZSNE7VHAEW6V7IY7COWAYKEZOS5/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-Dev] CACHE opcode in Python 3.11 bytecode Matthieu Dartiailh
- [Python-Dev] Re: CACHE opcode in Python 3.11... Jeremiah Gabriel Pascual