ipython/ipython — pull request #910 by minrk (2011-10-20 19:05:36+00:00)
Title: Make import checks more explicit in %whos

Since PyPy has a fake numpy, checking for 'import numpy' is insufficient

only check if numpy/numeric in use, to prevent unnecessary imports

`%precision` has a similar issue, but I'm actually inclined to let it raise (it doesn't crash, or anything, just shows that numpy is not really numpy). `%whos` is more important, and was entirely broken on PyPy.

closes #904