SIGN IN SIGN UP

gh-119180: Add LOAD_COMMON_CONSTANT opcode (#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>
J
Jelle Zijlstra committed
98e855fcc1f1d490c803565e84cb611b3f057e45
Parent: 506b1a3
Committed by GitHub <noreply@github.com> on 5/22/2024, 12:46:39 AM