Ticket #343 (closed defect: fixed)
__future__.division doesn't apply to constants and C integers
| Reported by: | scoder | Owned by: | scoder |
|---|---|---|---|
| Priority: | major | Milestone: | 0.12 |
| Component: | Type Analysis | Keywords: | |
| Cc: |
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.
Change History
Note: See
TracTickets for help on using
tickets.
