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 Artem Tepanov
Recipients Artem Tepanov, steven.daprano
Date 2019-12-10.10:40:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575974423.6.0.0660062743772.issue39013@roundup.psfhosted.org>
In-reply-to
Content
Using cmd:
C:\Users\ATepanov>python -V
Python 3.8.0

C:\Users\ATepanov>python C:\Users\ATepanov\Desktop\Outside_The_Loop.py
  File "C:\Users\ATepanov\Desktop\Outside_The_Loop.py", line 3
    break
    ^
SyntaxError: 'break' outside loop


In Interactive:
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> while False:
...     break
...
  File "<stdin>", line 2
SyntaxError: 'break' outside loop
>>>
History
Date User Action Args
2019-12-10 10:40:23Artem Tepanovsetrecipients: + Artem Tepanov, steven.daprano
2019-12-10 10:40:23Artem Tepanovsetmessageid: <1575974423.6.0.0660062743772.issue39013@roundup.psfhosted.org>
2019-12-10 10:40:23Artem Tepanovlinkissue39013 messages
2019-12-10 10:40:23Artem Tepanovcreate