On Tue, 1 Mar 2022 at 17:31, Svein Seldal <sveinse@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 
--
If you wish to request my time, please do so using bit.ly/hd1AppointmentRequest.
Si vous voudrais faire connnaisance, allez a bit.ly/hd1AppointmentRequest.

Sent from my mobile device
Envoye de mon portable