Ticket #203 (closed defect: fixed)
Bug in optimization of range
| Reported by: | dagss | Owned by: | Prajwal Suhas P |
|---|---|---|---|
| Priority: | critical | Milestone: | 0.11.1 |
| Component: | Python Semantics | Keywords: | |
| Cc: |
Description
This:
cdef int i, n
n = 10
for i in range(n):
if i == 5: n *= 2
print i
prints out 20.
Change History
Note: See
TracTickets for help on using
tickets.
