lhuang / cnprog

Automatically exported from code.google.com/p/cnprog
Other
0 stars 0 forks source link

cnprog is not compatible with python 2.4 #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Try to run cnprog using python 2.4 and it will fail due to usage of
short-if syntax. This is not recommended because it does make the code
harder to read.

Example: "x if y else z"
auth.py:170
views.py:1185
models.py:655

Original issue reported on code.google.com by sorin.sb...@gmail.com on 12 Oct 2009 at 9:33