{{ message }}
Commit 98e855f
pythongh-119180: Add LOAD_COMMON_CONSTANT opcode (python#119321)
The PEP 649 implementation will require a way to load NotImplementedError
from the bytecode. @markshannon suggested implementing this by converting
LOAD_ASSERTION_ERROR into a more general mechanism for loading constants.
This PR adds this new opcode. I will work on the rest of the implementation
of the PEP separately.
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>1 parent 506b1a3 commit 98e855f
22 files changed
Lines changed: 337 additions & 288 deletions
File tree
- Doc/library
- Include
- internal
- Lib
- importlib
- test
- Misc/NEWS.d/next/Core and Builtins
- Objects
- Programs
- Python
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments