simplejson/simplejson — pull request #22 by singingwolfboy (2011-11-11 03:49:56+00:00)
Title: Remove isinstance() check for namedtuple_as_object

Using isinstance() is not Pythonic and should be avoided when possible.
By using duck-typing instead, we can easily support other objects
that do not inherit from tuple but still support the same API as
namedtuple, such as objects created using the `recordtype` library:
http://pypi.python.org/pypi/recordtype