title: modify attribute via list comprehension
body: <p>If I have a simple class</p>
  
  <pre><code>class test(object):
      def __init__(self):
          self.prop=False
  </code></pre>
  
  <p>why does this not work </p>
  
  <pre><code>l=[a,b,c]
  [c.prop=True for c in l]
  
  for c in l:
      print c.prop
  </code></pre>
  
  <p>It shows invalid symtax. but the regular loop works</p>
  
  <pre><code>for c in l:
       c.prop=True
  </code></pre>
  
  <p>Any idea why list comprehension fails here?</p>