> I think your confusion comes from the use of the interactive mode.
>   
It is not. The example provided in the original post will also work when 
you put then into a python source file.
> 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.
>   
The expression passed to eval() cannot be considered an interactive session.
> Ideally, interactive mode should assume the terminal's encoding for source 
> code, but that has not been implemented.
>   
Again, please read the original messages - many of my examples also work 
when you put them into a python source file. They have nothing to do 
with terminals.

   Laszlo

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to