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)
commit9c9c12c064fe1006c2154d62fc857dcc78b60cf5
tree7d0be63b3ec776de1b209f19a1cda5cf92a3bd10
parent39aa22698fcda5858a40b37b57adcd726f3cfbc9
optimise away conditional expressions (x if cond else y) based on constant condition results
Cython/Compiler/Optimize.py
tests/run/ifelseexpr_T267.pyx