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 > >

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 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

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

Re: Why won't this run?

2015-11-19 Thread Mike S via Python-list
On 11/15/2015 12:38 PM, jbak36 wrote: Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. #this program says hello and asks for my name print:('Hello world!') Hello world! print:('What

Re: Why won't this run?

2015-11-16 Thread Gary Herron
On 11/15/2015 12:38 PM, jbak36 wrote: Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. #this program says hello and asks for my name print:('Hello world!') Hello world! You are

Why won't this run?

2015-11-15 Thread jbak36
Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> #this program says hello and asks for my name >>> print:('Hello world!') Hello world! >>> print:('What is your name?') #ask for their

Re: Why won't this run?

2015-11-15 Thread Tim Chase
On 2015-11-15 12:38, jbak36 wrote: > Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC > v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or > "license()" for more information. > >>> #this program says hello and asks for my name > >>> print:('Hello world!') > Hello world!