ipython/ipython — pull request #1882 by bfroehle (2012-06-08 00:23:42+00:00)
Title: Remove importlib dependency which not available in Python 2.6.

Since we are only doing an absolute import, it suffices to just run
`__import__(name)` and then find the module in `sys.modules`.

Compare to the `import_module` [source](http://svn.python.org/projects/python/trunk/Lib/importlib/__init__.py):
```
def import_module(name, package=None):
if name.startswith('.'):
# ...
__import__(name)
return sys.modules[name]
```

Closes #1874.