On 6/18/2012 11:32 AM, Jussi Piitulainen wrote:
> jmfauth writes:
> 
>> Thinks are very clear to me. I wrote enough interactive
>> interpreters with all available toolkits for Windows
> 
>>>> r = input()
> u'a
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> SyntaxError: u'a
> 
> Er, no, not really :-)
> 
You're using 2.x; this thread concerns 3.3, which, as has been repeated
several times, does not evaluate strings passed via input() like 2.x.
That code does not raise a SyntaxError in 3.x.

-- 
CPython 3.3.0a4 | Windows NT 6.1.7601.17803
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to