title: generator vs. list comprehension
body: <p>I have something, when run as a <i>list comprehension</i>, runs fine.</p>
  
  <p>It looks like, </p>
  
  <pre><code>[myClass().Function(things) for things in biggerThing]
  </code></pre>
  
  <p><code>Function</code> is a method, and it builds a list. The method itself doesn't return anything, but lists get manipulated within.</p>
  
  <p>Now when I change it to a <i>generator</i> ,</p>
  
  <pre><code>(myClass().Function(things) for things in biggerThing)
  </code></pre>
  
  <p>It doesn't manipulate the data like I would expect it to. In fact, it doesn't seem to manipulate it at all. </p>
  
  <p>What is the functional difference between a <i>list comprehension</i> and a <i>generator</i>?</p>