Message 306149 - Python tracker

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.

Content
It is easy to forbid the above cases, but I don't know what error message is appropriate. General "invalid syntax"?