Windows Python 2.4: Unbuffered flag causes SyntaxError on interactive sessions?

Michael Hoffman cam.ac.uk at mh391.invalid
Tue Sep 13 22:36:12 CEST 2005


Lonnie Princehouse wrote:
> C:\>python -u
> Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
> on win32
> Type "help", "copyright", "credits" or "license" for more information.
> 
>>>>print 'hello'
> 
>   File "<stdin>", line 1
>     print 'hello'
>                  ^
> SyntaxError: invalid syntax

Worksforme:

C:\Python24>python.exe -u
Python 2.4.1 (#65, May 24 2005, 13:43:04) [MSC v.1310 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
 >>> print 'hello'
hello

Strange that your python build is from 30 March and mine is from 24 May.
-- 
Michael Hoffman



More information about the Python-list mailing list