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


Groups > comp.lang.python > #110793

Re: "for/while ... break(by any means) ... else" make sense?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: "for/while ... break(by any means) ... else" make sense?
Date Thu, 30 Jun 2016 11:28:26 +1000
Lines 9
Message-ID <mailman.116.1467250108.2358.python-list@python.org> (permalink)
References <CAGtOLTe8VOnW6zbQSpoCwLL8Hj=cvF6wZ7wx-gxO=9-bQQ0fMw@mail.gmail.com> <mailman.101.1467194475.2358.python-list@python.org> <57746765$0$1593$c3e8da3$5496439d@news.astraweb.com> <CAPTjJmqAmesf58J9bYa7_vWXTtjnFU7JrkGy5hoqFNC3tTx-8Q@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de 1/VD46+m68gw5jb1GheeTAKq0yk/xMsmgEYGOeCoNQig==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.038
X-Spam-Evidence '*H*': 0.93; '*S*': 0.01; 'cc:addr:python-list': 0.09; "ain't": 0.09; 'exits': 0.09; 'subject:while': 0.09; 'interpreter': 0.15; 'thu,': 0.15; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:break': 0.16; 'subject:make': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'subject:/': 0.30; "d'aprano": 0.33; 'steven': 0.33; 'received:google.com': 0.35; 'possible.': 0.36; 'subject:" ': 0.36; 'subject:?': 0.36; 'skip:o 20': 0.38; 'back': 0.62; '30,': 0.63; 'manner': 0.69; 'chrisa': 0.84; 'quickest': 0.84; 'subject:any': 0.84; 'subject:else': 0.84; 'subject:sense': 0.84; 'to:none': 0.91; 'hardest': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=l61mnIzzM3gzHe6kzBTLfITEiF1qkVAUbWrQlmyql+o=; b=jMIvvmvAYqQsLlHIlmRlBUUDDwTDUKx5O7GuW2fG8aFhvvMTp5lWeiv4abBpnwOpML eVjlrjx3/+Vyxx2ZfW1hmPW4QsDydJlR8NHnJwn8JBKqg1ywcbk6nNd9jiXr1Teeo+UL 7HiIwxv1WRqNeOgO0v1SVuVrP3/u/wy/55No+73CKK1jWD4/fVMW3qpWNUtvzx66y7Vz ijTNRbr3l1DlhzFKyQG4jGAQGCR3IG0vX8kvRm2GOYQv5gwLtEdbvTi9bB4WaU+j7Rxs hNihxRfb0Hxh2QUkoafSUsb00fPAgtNBg4NRsVVHmh4ebzf58zIasQhPhDBcsrWUYSJw pIFA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=l61mnIzzM3gzHe6kzBTLfITEiF1qkVAUbWrQlmyql+o=; b=MpZTth0X/gsPrrF7eWERZ9srp3VtRvQBkqlRQfy1jhcztEyFWIacNzUqG3TMtGHvoE fgspxOb4I0VE/iO+FN5+m6A9XIVWLLjG4sB7IeBgyi/HILi+9sqA2n5ZQRDbY9smqKSb meM9eh2Tjq0EsqRZMM4lE+T6X24cLZsS0w61AbK1TLsYgiHV5XtU2qMHDm0fL7IlAu89 EnKhjiwuHZihyW7X5K3FLnJccojypGtdgIR97czFipZVI+BL5iJ7gIO869k//Wx4ekki emFCPJnEQgIxget0HRI0pPOmYg8JFlrVkHnd/PYUEeNmaHOV64UGNEoESdbfjX6iR+YJ pM2w==
X-Gm-Message-State ALyK8tK595aP8M2SBA408XsSIz5y27GPW92lz9kg4gNWJXkPxYUF6gHIWp0RPuzLTe9UxyeRkqIUXukV7ykeDg==
X-Received by 10.194.34.202 with SMTP id b10mr11965332wjj.47.1467250106948; Wed, 29 Jun 2016 18:28:26 -0700 (PDT)
In-Reply-To <57746765$0$1593$c3e8da3$5496439d@news.astraweb.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <CAPTjJmqAmesf58J9bYa7_vWXTtjnFU7JrkGy5hoqFNC3tTx-8Q@mail.gmail.com>
X-Mailman-Original-References <CAGtOLTe8VOnW6zbQSpoCwLL8Hj=cvF6wZ7wx-gxO=9-bQQ0fMw@mail.gmail.com> <mailman.101.1467194475.2358.python-list@python.org> <57746765$0$1593$c3e8da3$5496439d@news.astraweb.com>
Xref csiph.com comp.lang.python:110793

Show key headers only | View raw


On Thu, Jun 30, 2016 at 10:27 AM, Steven D'Aprano <steve@pearwood.info> wrote:
> Following os.abort(), the interpreter exits in the hardest, quickest manner
> possible.

os.kill(os.getpid(), 9)

Now THAT is the hardest way to abort. You ain't comin' back from this one!

ChrisA

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


Thread

Re: "for/while ... break(by any means) ... else" make sense? Victor Savu <victor.nicolae.savu@gmail.com> - 2016-06-29 10:01 +0000
  Re: "for/while ... break(by any means) ... else" make sense? Steven D'Aprano <steve@pearwood.info> - 2016-06-30 10:27 +1000
    Re: "for/while ... break(by any means) ... else" make sense? Chris Angelico <rosuav@gmail.com> - 2016-06-30 11:28 +1000
      Re: "for/while ... break(by any means) ... else" make sense? Rustom Mody <rustompmody@gmail.com> - 2016-06-29 19:26 -0700
        Re: "for/while ... break(by any means) ... else" make sense? Random832 <random832@fastmail.com> - 2016-06-30 00:00 -0400
      Re: "for/while ... break(by any means) ... else" make sense? Steven D'Aprano <steve@pearwood.info> - 2016-06-30 14:12 +1000
        Re: "for/while ... break(by any means) ... else" make sense? Chris Angelico <rosuav@gmail.com> - 2016-06-30 14:40 +1000
        Re: "for/while ... break(by any means) ... else" make sense? Zachary Ware <zachary.ware+pylist@gmail.com> - 2016-06-29 23:47 -0500
        Re: "for/while ... break(by any means) ... else" make sense? Random832 <random832@fastmail.com> - 2016-06-30 00:59 -0400

csiph-web