H Krishnan <hetch...@gmail.com> added the comment: Sorry, I didn't know about "python-ideas". Actually, there is a way to do this without breaking any existing code.
namedtuple could support an optional additional argument, say, useIterableCtr, which is by default False, and the class template could be appropriately modified based on this argument. I couldn't find the PEP for this, but I notice that other people have also suggested iterable as argument in the ActiveState recipe page for this. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8415> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com