InteractiveConsole class reimplements raw_input