does raw_input() return unicode?

Theerasak Photha hanumizzle at gmail.com
Tue Oct 10 04:09:31 EDT 2006


On 10/10/06, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Stuart McGraw schrieb:
> > So, does raw_input() ever return unicode objects and if
> > so, under what conditions?
>
> 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?

-- Theerasak



More information about the Python-list mailing list