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 ncoghlan
Recipients Damien George, barry, emilyemorehouse, gvanrossum, ncoghlan, serhiy.storchaka
Date 2019-08-06.00:33:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565051622.43.0.253195209759.issue37757@roundup.psfhosted.org>
In-reply-to
Content
I believe our main motivation for separating it out was the fact that even though TargetScopeError is a compile-time error, the affected code is syntactically fine - there are just issues with unambiguously inferring the intended read/write location for the affected target names. (Subclassing SyntaxError is then a pragmatic concession to the fact that "SyntaxError" also de facto means "CompilationError")

Searching for "Python TargetScopeError" will also get folks to relevant information far more quickly than searching for "Python SyntaxError" will.

Pre-seeding Stack Overflow with an answer to "What does TargetScopeError mean in Python?" would probably be a good idea though (similar to what I did for https://stackoverflow.com/questions/25445439/what-does-syntaxerror-missing-parentheses-in-call-to-print-mean-in-python )
History
Date User Action Args
2019-08-06 00:33:42ncoghlansetrecipients: + ncoghlan, gvanrossum, barry, serhiy.storchaka, Damien George, emilyemorehouse
2019-08-06 00:33:42ncoghlansetmessageid: <1565051622.43.0.253195209759.issue37757@roundup.psfhosted.org>
2019-08-06 00:33:42ncoghlanlinkissue37757 messages
2019-08-06 00:33:42ncoghlancreate