H Krishnan 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 te
New submission from H Krishnan :
Named tuples and tuples have different creation behavior. Changing a tuple to a
namedtuple will involve changing the usage as well. For example:
>>> ntuple = collections.namedtuple("ntuple", "a,b")
>>> ntuple(1,2)
ntuple(a=