title: python 'for key in' - how to fix 'SyntaxError: invalid syntax'
body: <p>I am trying to install (python setup.py install) some python package from github (<a href="https://github.com/danielfullmer/nzbfs" rel="nofollow">https://github.com/danielfullmer/nzbfs</a>) but getting </p>
  
  <pre><code>SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/nzbfs/fs.py', 135, 15, "            for key in ('st_atime', 'st_ctime', 'st_gid', 'st_mode', 'st_mtime', 'st_nlink', 'st_size', 'st_uid'):\n"))
  </code></pre>
  
  <p>whats wrong? tried python2.6 + 3.1 on debian but always getting stuck on that <code>for key ..</code> line</p>
  
  <pre><code>def getattr(self, path, fh=None):
      st = os.lstat(self.db_root + path)
  
      d = {
          key: getattr(st, key)
          for key in ('st_atime', 'st_ctime', 'st_gid', 'st_mode',
                      'st_mtime', 'st_nlink', 'st_size', 'st_uid')
      }
  
      if stat.S_ISREG(st.st_mode):
          nzf_size = get_nzf_attr(self.db_root + path, 'size')
          if nzf_size is not None:
              d['st_size'] = nzf_size
          nzf_mtime = get_nzf_attr(self.db_root + path, 'mtime')
          if nzf_mtime is not None:
              d['st_mtime'] = nzf_mtime
      d['st_blocks'] = d['st_size'] / 512
  
      return d                            
  </code></pre>