levkivskyi added the comment:

I would like to add that since the introduction of asyncio module that heavily 
uses "yield from" syntax, binding of yield inside comprehensions/generator 
expressions could lead to unexpected results/confusing behavior. See for 
example this question on SO: 
http://stackoverflow.com/questions/29334054/why-am-i-getting-different-results-when-using-a-list-comprehension-with-coroutin

----------
nosy: +levkivskyi

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10544>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to