eval and unicode

"Martin v. Löwis" martin at v.loewis.de
Fri Mar 21 16:56:43 EDT 2008


> Well at least this is what I think. If I'm not right then please explain 
> why.

I think your confusion comes from the use of the interactive mode.

PEP 263 doesn't really apply to the interactive mode, hence the
behavior in interactive mode is undefined, and may and will change
across Python versions.

Ideally, interactive mode should assume the terminal's encoding
for source code, but that has not been implemented.

Regards,
Martin



More information about the Python-list mailing list