Peter Waller <peter.wal...@gmail.com> added the comment:

Hi Antoine and Eric, 

Thanks for your responses.

I need to be able to catch all named tuples, I don't know in advance what 
instance of a namedtuple it might be, but I want my function to only accept 
named tuples. Is this unreasonable?

(I am actually writing a C interface which does conversion from namedtuples to 
a form of "RecordSpecification" to do with databases. The namedtuple is 
arbitrarily created by the user.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7796>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to