Ticket #343 (closed defect: fixed)
__future__.division doesn't apply to constants and C integers
|Reported by:||scoder||Owned by:||scoder|
Description (last modified by scoder) (diff)
Constant folding cannot currently handle __future__.division as this only affects code generation. So division on constants will not yield the correct result. The same applies to division operations that involve C integers. This makes the division semantics hard to predict for a given expression.