does raw_input() return unicode?

Theerasak Photha hanumizzle at gmail.com
Tue Oct 10 04:32:25 EDT 2006


On 10/10/06, Fredrik Lundh <fredrik at pythonware.com> wrote:

> Martin was probably thinking of the standard distribution.
>
> The 2.3 note says that "raw_input() *can* return Unicode", not that it
> "should" or "must" do it.

Practically speaking, at the heart of the matter: as of Python 2.5
final, does or can raw_input() return Unicode under the appropriate
circumstances, according to user wishes?

(Yes, I would test, but I am presently away from my Linux box with
Python, and can't install it here.)

-- Theerasak



More information about the Python-list mailing list