What would cause a Python interpreter to crash? A good interview question
sef.kloninger.com
sef.kloninger.com
Sure, but the simplest ways (at least with CPython) are to invoke C code that crashes via the FFI, or to manually explicitly create a code object from invalid bytecode data (or hex-edit a .pyc file so that the usual machinery does it for you).
Also, as usual I'm tired of the implication that networking is a necessary component of "the stack".
Discuss what would cause a Python interpreter to crash. Not a program written in Python, but the interpreter itself.
import ctypes
ctypes.string_at(0)