title: Relative import failure in Python 3
body: <p>Consider the following example package:</p>
  
  <pre><code>example/
  ├── bar.py
  ├── foo.py
  └── __init__.py
  </code></pre>
  
  <p><code>foo.py</code> contains just one line of code: <code>from . import bar</code>.</p>
  
  <p>If I execute <code>python foo.py</code> from inside the <code>example</code> package root, I get:</p>
  
  <p><code>SystemError: Parent module '' not loaded, cannot perform relative import</code></p>
  
  <p>What am I doing wrong?</p>