title: Eclipse pydev auto-suggestions don't work in some cases
body: <p>My question is probably stupid and I hope somebody has succeeded in solving this issue.</p>
  
  <p>Sometimes I cannot see right suggestions in auto-completion box (Eclipse 3.5.2, PyDev 1.5.7). For example:</p>
  
  <pre><code>import email
  fp = open('my.eml', 'rb')
  msg = email.message_from_file(fp)
  </code></pre>
  
  <p><code>msg</code> now is a Message object. And functions like get_payload() works fine.</p>
  
  <pre><code>msg.get_payload()
  </code></pre>
  
  <p>But I don't get <code>get_payload()</code> in auto-completion list.</p>
  
  <p>I think PyDev has no idea of what <code>msg</code> is, so it doesn't know what to show.</p>
  
  <p>Maybe I should import something else, not only <code>email</code> module?</p>
  
  <p>Thanks in advance!</p>