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 audricd
Recipients audricd, terry.reedy
Date 2019-01-24.11:04:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548327852.82.0.278103847412.issue35817@roundup.psfhosted.org>
In-reply-to
Content
Hello,

The screenshot attached is a clear repro.

Environment:
Surface Pro 3 Win 10 1803 Python 2.7.14
WSL Debian 9.6 with Python 2.7.13

Code:
>>elements = []
>>for i in range(0, 6):
>>...elements.append(i)

-------------------------------

Working:
>>print elements
>>[0, 1, 2, 3, 4, 5]

Non working:
  File "<stdin>", line 2
    elements.append(i)
           ^
IndentationError: expected an indented block
History
Date User Action Args
2019-01-24 11:04:16audricdsetrecipients: + audricd, terry.reedy
2019-01-24 11:04:12audricdsetmessageid: <1548327852.82.0.278103847412.issue35817@roundup.psfhosted.org>
2019-01-24 11:04:12audricdlinkissue35817 messages
2019-01-24 11:04:12audricdcreate