News for hackers. Stuff that matters.
Re:Python Lists vs. Tuples by throwaway274739 on Saturday August 20, 2016 @05:58AM (#12325903)
I would also add

    __slots__ = ()
to your class definition so that instances of Foo keep the small memory footprint benefits do namedtuple.

There are no comments on this comment yet.