Message287473
All for loops are refusing to break (Python 2.7.13) on win32
- only on execution of '.py' file
an example would be:"
for x in range(5): #Line 1 of main.py
print x #Line 2 of main.py
"
and the resulting error would be:"
File "pathToFile\main.py", line 1, in <module>
for x in range(5):
IndexError: array index out of range
"
I also have 32-bit python 3.6 installed, but the default for opening '.py' files is python 2.7
This error happens on custom made generators too, but never in the interactive shell. |
|
Date |
User |
Action |
Args |
2017-02-10 02:47:38 | Justin McNiel | set | recipients:
+ Justin McNiel, paul.moore, tim.golden, zach.ware, steve.dower |
2017-02-10 02:47:38 | Justin McNiel | set | messageid: <1486694858.31.0.700200461576.issue29518@psf.upfronthosting.co.za> |
2017-02-10 02:47:38 | Justin McNiel | link | issue29518 messages |
2017-02-10 02:47:37 | Justin McNiel | create | |
|