ipython/ipython — pull request #4599 by minrk (2013-11-25 19:55:46+00:00)
Title: re-cast int/float subclasses to int/float in json_clean

Protects against custom `__str__` in int subclasses (e.g. enums).

Works around a [bug in the stdlib](http://bugs.python.org/issue12657).

closes #4598