Re: Windows Python 2.4: Unbuffered flag causes SyntaxError on interactive sessions?
Irmen de Jong wrote: Michael Hoffman wrote: 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:\Python24python.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. Problem also occurs on my machine using Win XP Home, Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32 even just typing print at the interactive prompt causes a syntax error... It __may__ be that this is caused by an error in the codecs machinery which is already fixed in 2.4 CVS. Could you try this out? Reinhold -- http://mail.python.org/mailman/listinfo/python-list
Windows Python 2.4: Unbuffered flag causes SyntaxError on interactive sessions?
From the cmd shell on both Windows 2k and XP, I'm getting this weird syntax error in conjunction with the unbuffered flag. It works fine without -u. Has anyone else encountered it? This didn't happen with Python 2.2... 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 (sorry if this is a known/fixed bug... I couldn't find anything about it) -- http://mail.python.org/mailman/listinfo/python-list
Re: Windows Python 2.4: Unbuffered flag causes SyntaxError on interactive sessions?
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:\Python24python.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 -- http://mail.python.org/mailman/listinfo/python-list
Re: Windows Python 2.4: Unbuffered flag causes SyntaxError on interactive sessions?
Michael Hoffman wrote: 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:\Python24python.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. Problem also occurs on my machine using Win XP Home, Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32 even just typing print at the interactive prompt causes a syntax error... --Irmen -- http://mail.python.org/mailman/listinfo/python-list
Re: Windows Python 2.4: Unbuffered flag causes SyntaxError on interactive sessions?
Weird. Did you build Python yourself? The 2.4.1 release on python.org is from March 30. I just tried ActiveState's 2.4.1... the same thing happens. -- http://mail.python.org/mailman/listinfo/python-list
Re: Windows Python 2.4: Unbuffered flag causes SyntaxError on interactive sessions?
Lonnie Princehouse wrote: Weird. Did you build Python yourself? No. -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list