Karthikeyan Singaravelan <[email protected]> added the comment:

I think this is explained in the below answers with example that the left most 
loop in the comprehension has access to the class variables which the nested 
comprehensions don't have

https://stackoverflow.com/a/22692274/2610955

https://stackoverflow.com/a/13913933/2610955

Thanks

----------
nosy: +xtreak

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34076>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to