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: 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 Subject: Re: Restarting Python Date: Tue, 30 Sep 2014 22:35:48 -0400 Organization: IISS Elusive Unicorn References: <447m2atpvha8jt21cpulq8qu5p92pmogk3@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Tue, 30 Sep 2014 18:07:32 -0400, Seymore4Head declaimed the following: >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 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 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/