This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author exe
Recipients exe
Date 2009-05-18.10:28:58
SpamBayes Score 1.2810229e-08
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
Hello!

I found this problem:

$ python3 -c 'import sys; for line in sys.stdout: pass'
  File "<string>", line 1
    import sys; for line in sys.stdout: pass
                  ^
SyntaxError: invalid syntax

Without import-statement this work great. Also code 'import sys; pass' 
works too.
History
Date User Action Args
2009-05-18 10:29:01exesetrecipients: + exe
2009-05-18 10:29:01exesetmessageid: <[email protected]>
2009-05-18 10:28:59exelinkissue6052 messages
2009-05-18 10:28:58execreate