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 chris.259263
Recipients chris.259263, eric.smith
Date 2017-08-08.11:43:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502192626.95.0.133238405145.issue31140@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Eric,

running the script from the terminal on my system (macOS, Python 3.6.2) gives the same ErrorMessage as you stated.

The problem is the output "line 1".

Running the script from IDLE (3.6.2), the error points to the first line. And in IDLE you do not get the useful hint "(a>2s)" but just "SyntaxError: invalid syntax".
History
Date User Action Args
2017-08-08 11:43:46chris.259263setrecipients: + chris.259263, eric.smith
2017-08-08 11:43:46chris.259263setmessageid: <1502192626.95.0.133238405145.issue31140@psf.upfronthosting.co.za>
2017-08-08 11:43:46chris.259263linkissue31140 messages
2017-08-08 11:43:46chris.259263create