title: NameError: global name 'PermissionError' is not defined (python 2.x)
body: <p>The following line:</p>
  
  <pre><code>except (IOError, PermissionError, FileNotFoundError) as e:
  </code></pre>
  
  <p>Gives the following error message when I run it with python 2.75:</p>
  
  <pre><code>NameError: global name 'PermissionError' is not defined
  </code></pre>
  
  <p>But everything runs fine with python 3.3.</p>
  
  <p>Thoughts/suggestions?</p>