[issue7796] No way to find out if an object is an instance of a namedtuple

Raymond Hettinger report at bugs.python.org
Thu Sep 2 02:30:35 CEST 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Am deferring this to Py3.3.  There is a workaround available just using duck-typing and I would like to wait until more more has been done on StructSeq before setting committing to an new namedtuple Abstract Base Class (one released, it would be very hard to change).  Also, I would like to see how pprint() evolves (because it may also want to have special handling for named tuples).

----------
priority: high -> low
resolution:  -> later
versions: +Python 3.3 -Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7796>
_______________________________________


More information about the Python-bugs-list mailing list