On Tue, Nov 29, 2016 at 5:48 AM, Nick Coghlan <ncoghlan@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@noaa.gov