fix '<int>bool(<int>x)' to always return 0 or 1 instead of plain '<int>x'
authorStefan Behnel <scoder@users.berlios.de>
Thu, 25 Nov 2010 06:03:10 +0000 (07:03 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 25 Nov 2010 06:03:10 +0000 (07:03 +0100)
commit78b216f520c7bf2f94f47bfcaf2a110e71a510a2
treeffe694e46f9536c98f751cb5549d5df28b04ad77
parenta6b0f4059f42d92e3e43ca788a1452461b6b7ed7
fix '<int>bool(<int>x)' to always return 0 or 1 instead of plain '<int>x'
Cython/Compiler/Optimize.py
tests/run/boolean_context.pyx