<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 22.10.2016 09:50, Alexander Heger
wrote:<br>
</div>
<blockquote
cite="mid:CAN3CYHypwV7cctcAYNPhEFM57uLqU4YSA2ntzm7Kuk5UN0a0MQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Well, an argument that was often brought up on this
forum is that Python should do things consistently, and
not in one way in one place and in another way in another
place, for the same thing.</div>
</div>
</div>
</div>
</blockquote>
<br>
Like * in list displays? ;-)<br>
<br>
<blockquote
cite="mid:CAN3CYHypwV7cctcAYNPhEFM57uLqU4YSA2ntzm7Kuk5UN0a0MQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Here it is about the order of loop execution. The
current behaviour in comprehension is that is ts being
done the same way as in nested for loops.</div>
</div>
</div>
</div>
</blockquote>
<br>
It still would. Just read it from right to left. The order stays the
same.<br>
<br>
<blockquote
cite="mid:CAN3CYHypwV7cctcAYNPhEFM57uLqU4YSA2ntzm7Kuk5UN0a0MQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Which is easy enough to remember. Same way,
everywhere.</div>
</div>
</div>
</div>
</blockquote>
<br>
I am sorry but many disagree with you on this thread.<br>
<br>
I still don't understand why the order needs to be one-way anyway.
Comprehensions are a declarative construct, so it should be possible
to mix those "for .. in .."s up in an arbitrary order.<br>
<br>
Cheers,<br>
Sven<br>
</body>
</html>