News for hackers. Stuff that matters.
Re:Redesigning Python's named tuples by adambyrtek on Friday September 01, 2017 @08:28AM (#15147775)
Order is important for "pure" Python tuples, so I see no reason why it shouldn't be the case for namedtuple. Mathematical tuples are ordered as well:

"In mathematics a tuple is a finite ordered list (sequence) of elements. An n-tuple is a sequence (or ordered list) of n elements, where n is a non-negative integer. There is only one 0-tuple, an empty sequence. An n-tuple is defined inductively using the construction of an ordered pair." (Wikipedia)

There are no comments on this comment yet.