Crash report
What happened?
import dis
func = lambda: None
func.__code__ = func.__code__.replace(co_code=bytes([dis.opmap['POP_TOP'], 0]))
func()
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Segmentation fault (core dumped)