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 docs@python, enedil, hniksic, ncoghlan, terry.reedy
Date 2017-06-17.01:45:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497663901.68.0.743728944502.issue30637@psf.upfronthosting.co.za>
In-reply-to
Content
Python grammar is constrained to be, I believe, LL(1).  Whatever the constraint is, there are a few syntax rules that either cannot be written or would be difficult to write within the constraint.  So they are checked during compilation.  Can you suggest a couple of sentences you would have like to have seen, and where?

I might also note that not all exceptions raised by compile are literally 'SyntaxError's.
History
Date User Action Args
2017-06-17 01:45:01terry.reedysetrecipients: + terry.reedy, ncoghlan, hniksic, docs@python, enedil
2017-06-17 01:45:01terry.reedysetmessageid: <1497663901.68.0.743728944502.issue30637@psf.upfronthosting.co.za>
2017-06-17 01:45:01terry.reedylinkissue30637 messages
2017-06-17 01:45:01terry.reedycreate