thewisenerd / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Fix a sequence iterator issue #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ipm> def foo(n):
    for i in range(n):
        if i ==  0:
            print "zero"
        elif i == 1:
            print "one"
        elif i == 2:
            print "two"
        elif i == 3:
            print "three"
    print "done"

ipm> foo(4)
 zero 
Traceback (most recent call first):
  File "<ipm>", line 2, in foo
  File "<ipm>", line 1, in <ipm>
  File "ipm.py", line 91, in ipm
  File "main.py", line 19, in main
  <module>.
Error code 0xFC detected by seq.c:210

Original issue reported on code.google.com by dwhall...@gmail.com on 29 Jul 2010 at 2:59

GoogleCodeExporter commented 9 years ago
Bad report.  This issue doesn't exist in trunk, but on a modified branch.

Original comment by dwhall...@gmail.com on 29 Jul 2010 at 3:48