does raw_input() return unicode?

"Martin v. Löwis" martin at
Tue Oct 10 19:30:10 CEST 2006

Theerasak Photha schrieb:
>> At the moment, it only returns unicode objects when invoked
>> in the IDLE shell, and only if the character entered cannot
>> be represented in the locale's charset.
> Why only IDLE? Does urwid or another console UI toolkit avoid this somehow?

I admit I don't know what urwid is; from a shallow description I find
("a console user interface library") I can't see the connection to
raw_input(). How would raw_input() ever use urwid?


More information about the Python-list mailing list