On Tue, 1 Mar 2022 at 17:31, Svein Seldal <svei...@seldal.com> wrote:

>      for x in (a for a in y if c):


-1 on this form, I know it's supported, but I can see it getting ugly, i.e.

     for x in (a for x in (a for x in a)) # add a few more "for x in (a"
and it will get messy fast

> or
>
>      it = (a for a in y if c)
>      for x in it:
>

This seems more explicit, but does this not give us syntactic sugar for
already supported use cases? -- H
-- 
OpenPGP: https://hasan.d8u.us/openpgp.asc
<https://t.mailpgn.com/l/?u=fbe9f93f-fd80-43c5-9866-4f515788cc99&fl=https%3A%2F%2Fhasan.d8u.us%2Fopenpgp.asc>
If you wish to request my time, please do so using
*bit.ly/hd1AppointmentRequest
<https://t.mailpgn.com/l/?u=ef691519-2071-46a7-ad52-381462e771f4&fl=http%3A%2F%2Fbit.ly%2Fhd1AppointmentRequest>*
.
Si vous voudrais faire connnaisance, allez a *bit.ly/hd1AppointmentRequest
<https://t.mailpgn.com/l/?u=07d0ad86-434b-4af5-a4a1-4a036a47cd02&fl=http%3A%2F%2Fbit.ly%2Fhd1AppointmentRequest>*
.

<https://t.mailpgn.com/l/?u=b5bad592-b977-4c0e-a77f-f17d51c6ee46&fl=https%3A%2F%2Fsks-keyservers.net%2Fpks%2Flookup%3Fop%3Dget%26amp%3Bsearch%3D0xFEBAD7FFD041BBA1>Sent
from my mobile device
Envoye de mon portable
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/TYUBJHSQH4UZQAHNTSTSM5NCDBGP7VBP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to