Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ian Kelly Newsgroups: comp.lang.python Subject: Re: for / while else doesn't make sense Date: Tue, 7 Jun 2016 05:52:42 -0600 Lines: 8 Message-ID: References: <7d453116-c02a-4211-836e-518f571c29a3@googlegroups.com> <4aafb237-4c41-4c0f-98ec-f71841c36bc1@googlegroups.com> <48de4319-7c8a-419a-978c-3cff46f3490a@googlegroups.com> <57524448$0$1615$c3e8da3$5496439d@news.astraweb.com> <12226874-a705-47b1-859c-e9bed59ac6bb@googlegroups.com> <6c3b3d2e-bfc0-4c0e-ab81-55ec672f06c9@googlegroups.com> <7eb86c69-e0c5-4a4e-b35e-d8404bbebf9f@googlegroups.com> <878tyj97zo.fsf@elektro.pacujo.net> <6fde6944-918a-443e-b44f-0c7a69604a44@googlegroups.com> <1da21ea9-cfa8-4fae-960c-e753c9cc185e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de 4pHquyxF6Bxz2PtepNxilgn8vvZ9hUbwShD7y/hv2RLw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.031 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'lines,': 0.05; 'excluding': 0.09; 'subject:while': 0.09; 'received:209.85.218': 0.10; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:make': 0.16; 'wow,': 0.16; 'wrote:': 0.16; 'posted': 0.21; 'lawrence': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'example': 0.26; 'message-id:@mail.gmail.com': 0.27; 'code': 0.30; 'getting': 0.33; 'tue,': 0.34; 'received:google.com': 0.35; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'done.': 0.37; 'received:209': 0.38; 'to:addr:python.org': 0.40; 'where': 0.40; 'subject: / ': 0.63; 'huh?': 0.84; 'subject:else': 0.84; 'subject:sense': 0.84; 'to:name:python': 0.84; 'you\xe2\x80\x99re': 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:to :content-transfer-encoding; bh=lWeJiFphjrhSLNr9rrXfbJfWm6COcsOQfwBZLy18VKQ=; b=xthZutSkveLHeVXAFA+wueyg1I5iblFjccC+Fc7KvHhGRMozu2wFt49PY6HWTpRMQe L33CWxYN78HljQ5aQ/yAyZju9L9krkDyQ492jFpu9Zlm1k/TlBinw8r1EJ5rZ4BDNV8+ lKdL32ZeoV+A+S5vFhDYbVfc44S6689JTyB6lXi8/UmPlTwy7s3zLzDM2F8jThzVbhJa 9+KGODZKp9okusOX4gROU+AFVHSg3lfgbHtgXMh41kS4GSjnJLXD2IjANrPiWRQCkyWu 0bYrpuoYTVAV6VzVnT691C85NkcENrYWXM9a/TbxP+zbFY5mq1phxQXs1WFfN08Ygdq7 HtGA== 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:to:content-transfer-encoding; bh=lWeJiFphjrhSLNr9rrXfbJfWm6COcsOQfwBZLy18VKQ=; b=N5RBT0b4CHfeoJkjweGguBttLLycC1QOFafqyWsA8Q5J9n9cdE1g7KqAvBHHoJjNjs s9eReVBUKxfqWjr8/ar7oeUdgpOeuzKdhq1S+MftMev6sxzSyzfNumee9pAU6JLUpNU3 yVpwiS7OHpU0iyky1LUkB6RmuatEbRhTFauHnVJjEvS2/sMUDLZsDM+nL0R3TQx3HT9I B+a95LY1IvlVzUiflfcX6jZJIB/l0F6eAUGoMkSvMgo7K6tBAqDgctNIKzNu2qcMGDuG zGj+op20CB4WPCQKBh30ca6wndWbmxp6i1fFIFm4QjT11lI5D5f5vClIuS1p8MGVA+yl vAUA== X-Gm-Message-State: ALyK8tJaNLrZcPJM5Q23W1qVG8lp7L9G1I2JcSU+mLeGlHcUkxeJBE6T5RCIhiESTdTUKkA0rznz5qQzqEz/jg== X-Received: by 10.157.48.36 with SMTP id d33mr11308193otc.30.1465300401788; Tue, 07 Jun 2016 04:53:21 -0700 (PDT) In-Reply-To: <1da21ea9-cfa8-4fae-960c-e753c9cc185e@googlegroups.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <7d453116-c02a-4211-836e-518f571c29a3@googlegroups.com> <4aafb237-4c41-4c0f-98ec-f71841c36bc1@googlegroups.com> <48de4319-7c8a-419a-978c-3cff46f3490a@googlegroups.com> <57524448$0$1615$c3e8da3$5496439d@news.astraweb.com> <12226874-a705-47b1-859c-e9bed59ac6bb@googlegroups.com> <6c3b3d2e-bfc0-4c0e-ab81-55ec672f06c9@googlegroups.com> <7eb86c69-e0c5-4a4e-b35e-d8404bbebf9f@googlegroups.com> <878tyj97zo.fsf@elektro.pacujo.net> <6fde6944-918a-443e-b44f-0c7a69604a44@googlegroups.com> <1da21ea9-cfa8-4fae-960c-e753c9cc185e@googlegroups.com> Xref: csiph.com comp.lang.python:109621 On Tue, Jun 7, 2016 at 1:52 AM, Lawrence D=E2=80=99Oliveiro wrote: > Wow, that=E2=80=99s only twice the length of the code you=E2=80=99re repl= acing. Well done. Huh? The example that you posted was 17 lines, excluding comments. My replacement code is 17 lines, excluding comments. Where are you getting "twice the length" from?