Andrew, you raise a good point that I hadn't considered. I think you're right 
that yield inside an expression shouldn't be allowed, to avoid confusion. If we 
found a good reason to allow it we could change it later.
_______________________________________________
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/HUUUJJDUWCHUOR72BHYV5GIUY6X7BMRX/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to