[Python-ideas] (no subject)
Chris Barker
chris.barker at noaa.gov
Tue Nov 29 12:42:57 EST 2016
On Tue, Nov 29, 2016 at 5:48 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> > SyntaxErrors in an inner loop? That seems unlikely to me.
>
Syntax Errors are a special case, as by definition the code isn't being run
yet (yes, there could be an eval in there...)
So we could at least make those more informative without worrying about
performance.
Also -- would it be possible to tack on the more informative message at a
higher level? Once the Exception bubbles up to the REPL, is there enough
information available to make a more informative message?
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20161129/54c4d834/attachment.html>
More information about the Python-ideas
mailing list