This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Justin McNiel
Recipients Justin McNiel, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-02-10.02:47:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486694858.31.0.700200461576.issue29518@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-02-10 02:47:38Justin McNielsetrecipients: + Justin McNiel, paul.moore, tim.golden, zach.ware, steve.dower
2017-02-10 02:47:38Justin McNielsetmessageid: <1486694858.31.0.700200461576.issue29518@psf.upfronthosting.co.za>
2017-02-10 02:47:38Justin McNiellinkissue29518 messages
2017-02-10 02:47:37Justin McNielcreate