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


Groups > comp.lang.python > #37514

Re: Understanding while...else...

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Understanding while...else...
Date 2013-01-23 17:47 -0500
References <kdmj5n$me1$1@ger.gmane.org> <1860347092.8310858.1358878558150.JavaMail.root@sequans.com>
Newsgroups comp.lang.python
Message-ID <mailman.927.1358981312.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 1/22/2013 1:15 PM, Jean-Michel Pichavant wrote:
> ----- Original Message -----
>> Several people have trouble understanding Python's while-else and
>> for-else constructs. It is actually quite simple
>
> agreed on the last part.
>
> [snip long story]
>
> Did you just try to make it simple by showing the compiled code ? I'm
> quite not sure about that...

The dis output was an optional appendix for anyone who doubted the 
correctly of my claimed python-level equivalence ;-).

-- 
Terry Jan Reedy

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


Thread

Re: Understanding while...else... Terry Reedy <tjreedy@udel.edu> - 2013-01-23 17:47 -0500

csiph-web