optimise away conditional expressions (x if cond else y) based on constant condition...
authorStefan Behnel <scoder@users.berlios.de>
Thu, 28 Apr 2011 13:57:42 +0000 (15:57 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 28 Apr 2011 13:57:42 +0000 (15:57 +0200)
commit81542476b40b30c472c1d5522217dd88b46de36a
tree7d0be63b3ec776de1b209f19a1cda5cf92a3bd10
parentb709a5a6400f7715b8e4fa02aa27451d667c4618
optimise away conditional expressions (x if cond else y) based on constant condition results
Cython/Compiler/Optimize.py
tests/run/ifelseexpr_T267.pyx