This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hkrishnan
Recipients ezio.melotti, hkrishnan, rhettinger
Date 2010-04-19.05:08:27
SpamBayes Score 1.713554e-08
Marked as misclassified No
Message-id <1271653710.82.0.966161166377.issue8415@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-04-19 05:08:31hkrishnansetrecipients: + hkrishnan, rhettinger, ezio.melotti
2010-04-19 05:08:30hkrishnansetmessageid: <1271653710.82.0.966161166377.issue8415@psf.upfronthosting.co.za>
2010-04-19 05:08:28hkrishnanlinkissue8415 messages
2010-04-19 05:08:27hkrishnancreate