Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78520

Re: Restarting Python

Path csiph.com!usenet.pasdenom.info!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'restart': 0.09; 'python': 0.11; '>>on': 0.16; '>on': 0.16; 'backward': 0.16; 'command.': 0.16; 'compatible,': 0.16; 'message-id:@4ax.com': 0.16; 'no...': 0.16; 'really?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'stuff,': 0.16; 'where?': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'command': 0.22; '>>>': 0.22; 'python?': 0.22; 'url:home': 0.24; 'non': 0.24; "i've": 0.25; 'developers': 0.25; 'asking': 0.27; 'defined': 0.27; 'header:X -Complaints-To:1': 0.27; 'testing': 0.29; 'wonder': 0.29; 'convenience': 0.31; 'sep': 0.31; 'file': 0.32; 'stuff': 0.32; 'run': 0.32; 'running': 0.33; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'really': 0.36; 'useful': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'received:76': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'first': 0.61; 'real': 0.63; 'decided': 0.64; 'within': 0.65; '5:15': 0.84; 'again?': 0.84; 'batchelder': 0.84; 'wipe': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Restarting Python
Date Tue, 30 Sep 2014 22:35:48 -0400
Organization IISS Elusive Unicorn
References <447m2atpvha8jt21cpulq8qu5p92pmogk3@4ax.com> <mailman.14497.1412114737.18130.python-list@python.org> <l9am2a9mkpqri66i9ci6slf60qpd60i0b9@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-76-249-31-86.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14504.1412130954.18130.python-list@python.org> (permalink)
Lines 37
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1412130954 news.xs4all.nl 2829 [2001:888:2000:d::a6]:53452
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78520

Show key headers only | View raw


On Tue, 30 Sep 2014 18:07:32 -0400, Seymore4Head
<Seymore4Head@Hotmail.invalid> declaimed the following:

>On Tue, 30 Sep 2014 18:05:20 -0400, Ned Batchelder
><ned@nedbatchelder.com> 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 a process over again in the same way is not something that is 
>>easy to do from within the process.  How are you running Python? Is it 
>>difficult to start it again?
>
>It is not difficult to start again.  It just seems like restart is a
>missing command.  I see many questions asking how to do it.

	Really?

	Where?

	Your's is the first occurrence I've seen in since I started with Python
(v1.3 or v1.4 -- on an Amiga).

	From a command shell? "Restart" is <kill process><up-arrow><return>

	Now, if you mean you want to wipe out any stuff defined in an
INTERACTIVE session -- then no... Since interactive sessions are really
just a convenience for testing stuff, and the real program should be a file
that is run from a command line...

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Restarting Python Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-30 17:15 -0400
  Re: Restarting Python Grant Edwards <invalid@invalid.invalid> - 2014-09-30 21:27 +0000
    Re: Restarting Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-01 00:24 +0100
  Re: Restarting Python Ned Batchelder <ned@nedbatchelder.com> - 2014-09-30 18:05 -0400
    Re: Restarting Python Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-30 18:07 -0400
      Re: Restarting Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-09-30 22:35 -0400
  Re: Restarting Python Terry Reedy <tjreedy@udel.edu> - 2014-09-30 18:58 -0400
    Re: Restarting Python Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-30 19:16 -0400
      Re: Restarting Python Chris Angelico <rosuav@gmail.com> - 2014-10-01 10:30 +1000
    Re: Restarting Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-01 23:08 +1000
      Re: Restarting Python Rustom Mody <rustompmody@gmail.com> - 2014-10-01 06:39 -0700
  Re: Restarting Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-02 00:47 +1000
    Re: Restarting Python Terry Reedy <tjreedy@udel.edu> - 2014-10-01 13:52 -0400

csiph-web