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 terry.reedy
Recipients audricd, terry.reedy
Date 2019-01-24.18:00:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548352842.59.0.470961222413.issue35817@roundup.psfhosted.org>
In-reply-to
Content
In the Debian screenshot with the traceback, you run interactive Python, not IDLE, in the system terminal, with the command-line entry 'python'.  Notice the secondary ... prompt.

The bug in the code you entered is indicated by the error message.  In interactive Python you have to indent the bodies of compound statements yourself.  (IDLE does this for you with its 'smart indent' feature.)  In the future, please ask questions about exception messages (and Python in general) on python-list or elsewhere.  Perhaps you should also reread the Python Tutorial.
History
Date User Action Args
2019-01-24 18:00:43terry.reedysetrecipients: + terry.reedy, audricd
2019-01-24 18:00:42terry.reedysetmessageid: <1548352842.59.0.470961222413.issue35817@roundup.psfhosted.org>
2019-01-24 18:00:42terry.reedylinkissue35817 messages
2019-01-24 18:00:42terry.reedycreate