Re: Restarting Python

2014-10-01 Thread Terry Reedy
On 10/1/2014 10:47 AM, Steven D'Aprano wrote: Inside the interactive interpreter, I can restart the interpreter with four keystrokes: - Ctrl-D - UP-ARROW - ENTER Ctrl-D exits Python and returns me to the shell, UP-ARROW fetches the previous command ("python"), and ENTER runs that command. On W

Re: Restarting Python

2014-10-01 Thread Steven D'Aprano
Seymore4Head wrote: > Since the developers of Python decided to make Python 3 non backward > compatible, I can't help but wonder why they don't think a command to > restart would be a useful addition? Possibly because it isn't a useful addition? Or maybe they just never thought of it. But more li

Re: Restarting Python

2014-10-01 Thread Rustom Mody
On Wednesday, October 1, 2014 6:39:11 PM UTC+5:30, Steven D'Aprano wrote: > Terry Reedy wrote: > > Python does not have 'commands'. > Terry, even experienced Python developers sometimes describe functions and > statements as "commands", e.g. "Use the print command to display results". > I think w

Re: Restarting Python

2014-10-01 Thread Steven D'Aprano
Terry Reedy wrote: > Python does not have 'commands'. Terry, even experienced Python developers sometimes describe functions and statements as "commands", e.g. "Use the print command to display results". I think we can cut a beginner like Seymore a bit of slack for misusing terminology. -- Stev

Re: Restarting Python

2014-09-30 Thread Chris Angelico
On Wed, Oct 1, 2014 at 9:16 AM, Seymore4Head wrote: > On Tue, 30 Sep 2014 18:58:50 -0400, Terry Reedy > wrote: > >>On 9/30/2014 5:15 PM, Seymore4Head wrote: >>> Since the developers of Python decided to make Python 3 non backward >>> compatible, >> >>This is a trollish exaggeration. >> >> > I can

Re: Restarting Python

2014-09-30 Thread Mark Lawrence
On 30/09/2014 22:27, Grant Edwards wrote: On 2014-09-30, Seymore4Head wrote: Since the developers of Python decided to make Python 3 non backward compatible, I can't help but wonder why they don't think a command to restart would be a useful addition? Uh... what? Does that make any sense to

Re: Restarting Python

2014-09-30 Thread Seymore4Head
On Tue, 30 Sep 2014 18:58:50 -0400, Terry Reedy wrote: >On 9/30/2014 5:15 PM, Seymore4Head wrote: >> Since the developers of Python decided to make Python 3 non backward >> compatible, > >This is a trollish exaggeration. > > > I can't help but wonder why they don't think a command to >> restart w

Re: Restarting Python

2014-09-30 Thread Terry Reedy
On 9/30/2014 5:15 PM, Seymore4Head wrote: Since the developers of Python decided to make Python 3 non backward compatible, This is a trollish exaggeration. > I can't help but wonder why they don't think a command to restart would be a useful addition? More trollishness. Python does not hav

Re: Restarting Python

2014-09-30 Thread Seymore4Head
On Tue, 30 Sep 2014 18:05:20 -0400, Ned Batchelder wrote: >On 9/30/14 5:15 PM, Seymore4Head wrote: >> Since the developers of Python decided to make Python 3 non backward >> compatible, I can't help but wonder why they don't think a command to >> restart would be a useful addition? >> > >Starting

Re: Restarting Python

2014-09-30 Thread Ned Batchelder
On 9/30/14 5:15 PM, Seymore4Head wrote: Since the developers of Python decided to make Python 3 non backward compatible, I can't help but wonder why they don't think a command to restart would be a useful addition? Starting a process over again in the same way is not something that is easy to

Re: Restarting Python

2014-09-30 Thread Grant Edwards
On 2014-09-30, Seymore4Head wrote: > Since the developers of Python decided to make Python 3 non backward > compatible, I can't help but wonder why they don't think a command to > restart would be a useful addition? Uh... what? Does that make any sense to anybody else? -- Grant Edwards

Restarting Python

2014-09-30 Thread Seymore4Head
Since the developers of Python decided to make Python 3 non backward compatible, I can't help but wonder why they don't think a command to restart would be a useful addition? -- https://mail.python.org/mailman/listinfo/python-list