News for hackers. Stuff that matters.
Re:Redesigning Python's named tuples by Redoubts on Friday September 01, 2017 @10:18AM (#15148488)
> when was the last time you ever accessed a namedtuple by index

If you don't want that, why are you using "Named[ThingWhichWasOnlyAccessibleByIndex]"

Use this instead, or something

    class Struct(object):
        def __init__(self, **kwargs):
            self.__dict__.update(kwargs)

There are no comments on this comment yet.