ipython/ipython — pull request #2800 by minrk (2013-01-17 18:21:18+00:00)
Title: use `type(obj) is cls` as switch when canning

`isinstance(obj, cos)` would trigger the canning shortcuts for subclasses,
which can be inappropriate (e.g. pandas.TimeSeries).

closes #2793