ipython/ipython — pull request #2685 by bfroehle (2012-12-15 00:59:16+00:00)
Title: Fix pretty print of types when `__module__` is not available.

In Python 3, heap allocated types -- for example those created using
PyType_FromSpec -- lack the `__module__` attribute.

Closes #2684