Re: Why won't the run-time error reporter point to the error position with a caret like the syntax error reporter does? It knows exactly where the error is.

2019-08-01 Thread Chris Angelico
On Thu, Aug 1, 2019 at 4:34 PM Terry Reedy wrote: > > On 7/31/2019 11:19 PM, jsals...@gmail.com wrote: > > Honestly this is the only thing in over half a decade of daily python use > > which has disappointed me enough to want to ask the devs: > > > print(1/) > >File "", line 1 > > p

Re: Why won't the run-time error reporter point to the error position with a caret like the syntax error reporter does? It knows exactly where the error is.

2019-07-31 Thread Terry Reedy
On 7/31/2019 11:19 PM, jsals...@gmail.com wrote: Honestly this is the only thing in over half a decade of daily python use which has disappointed me enough to want to ask the devs: print(1/) File "", line 1 print(1/) ^ SyntaxError: invalid syntax SyntaxErrors mostly com

Why won't the run-time error reporter point to the error position with a caret like the syntax error reporter does? It knows exactly where the error is.

2019-07-31 Thread jsalsman
Honestly this is the only thing in over half a decade of daily python use which has disappointed me enough to want to ask the devs: >>> print(1/) File "", line 1 print(1/) ^ SyntaxError: invalid syntax >>> print(1/1, 1/0, 1/1) Traceback (most recent call last): File "", line 1