CPython's own code.InteractiveConsole running here. input() genuinely blocks (WebAssembly JSPI), and %undo time-travels the heap to before your last statement.