one word, the forced reading of this blog
thread over
Name:
Anonymous2008-03-19 22:25
So my Python terminal replacement is completely fucked, because as far as I can tell, Python file objects can’t handle UNICODE for beans. Which means passing things like UPARROW to the shell program is going to be impossible (and ignoring them is out of the question — I need my goddamn UPARROW to recall things from the history list).
Fucking idiot. Are import readline and str.encode/str.decodereally that goddamn hard?