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 steven.daprano
Recipients steven.daprano
Date 2018-04-18.01:47:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The Python 2.x syntax for octal integers is a syntax error in 3.x, but the error message is very uninformative:

SyntaxError: invalid token

Can this be improved? Perhaps to something like:

invalid token, use 0o prefix for octal integers

(see also #33304)
Date User Action Args
2018-04-18 01:47:11steven.dapranosetrecipients: + steven.daprano
2018-04-18 01:47:11steven.dapranosetmessageid: <>
2018-04-18 01:47:11steven.dapranolinkissue33305 messages
2018-04-18 01:47:11steven.dapranocreate