ipython/ipython — pull request #2951 by minrk (2013-02-18 19:48:03+00:00)
Title: use istype on lists/tuples

avoids catching and mistreating subclasses, such as namedtuples.