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 aroberge
Recipients aroberge, lys.nikolaou, pablogsal
Date 2021-12-07.06:11:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638857476.78.0.83967741356.issue46004@roundup.psfhosted.org>
In-reply-to
Content
In Python 3.10.1, a change occurred compared with 3.10.0 so that an incorrect token is flagged for a SyntaxError. Also, in 3.11.0a2, the suggestion made about having forgotten a comma is incorrect. Python 3.10.1 for x range(4): ^ SyntaxError: invalid syntax (I no longer have 3.10.0 available but I know from my tests that it was identifying correctly the wrong token.) Python 3.11.0a2 for x range(4): ^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma? Python 3.9.5 for x range(4): ^ SyntaxError: invalid syntax Python 3.8.10 for x range(4): ^ SyntaxError: invalid syntax Python 3.7.8 for x range(4): ^ SyntaxError: invalid syntax Python 3.6.8 for x range(4): ^ SyntaxError: invalid syntax
History
Date User Action Args
2021-12-07 06:11:16arobergesetrecipients: + aroberge, lys.nikolaou, pablogsal
2021-12-07 06:11:16arobergesetmessageid: <1638857476.78.0.83967741356.issue46004@roundup.psfhosted.org>
2021-12-07 06:11:16arobergelinkissue46004 messages
2021-12-07 06:11:16arobergecreate