"python -3" not working as expected

Thorsten Kampe thorsten at thorstenkampe.de
Thu Jan 8 16:38:53 CET 2009


[Python 2.6.1]

Hi,

to test existing Python code, I ran "python -3" ("warn about Python 3.x 
incompatibilities") against a test file that only contains "print 
'test'".

Unfortunately I saw no warnings about print becoming a function in 
Python 3 ("print()"). Where is the problem?

Thorsten



More information about the Python-list mailing list