<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, 6 Jul 2018 at 08:52 Chris Barker - NOAA Federal via Python-Dev <<a href="mailto:python-dev@python.org">python-dev@python.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are we just having fun here?<br>
<br>
Or might we actually start using a new naming convention for<br>
the-syntax-formerly-known-as-generator-expressions?<br></blockquote><div><br></div><div>If you can create a groundswell of support then maybe.</div><div><br></div><div>-Brett<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-CHB<br>
<br>
Sent from my iPhone<br>
<br>
> On Jul 3, 2018, at 11:54 PM, Greg Ewing <<a href="mailto:greg.ewing@canterbury.ac.nz" target="_blank">greg.ewing@canterbury.ac.nz</a>> wrote:<br>
><br>
> Steven D'Aprano wrote:<br>
>> - list builder syntax is syntax which returns a list;<br>
>> - dict builder syntax is syntax which returns a dict;<br>
>> - set builder syntax is syntax which returns a set;<br>
>> - generator builder syntax is syntax which returns a generator.<br>
><br>
> You only get a list/dict/set from the first three after<br>
> you've run the iterators within it, but with a generator<br>
> expression, you already have a generator before you've<br>
> run it. That makes it feel different to me.<br>
><br>
> --<br>
> Greg<br>
> _______________________________________________<br>
> Python-Dev mailing list<br>
> <a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
> Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/chris.barker%40noaa.gov" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/chris.barker%40noaa.gov</a><br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/brett%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</blockquote></div></div>