3 ms·
> I want syntax that will keep people from using collections.namedtuple() just for its attribute API and ignoring/regretting its index API. The author is propo
by driggs 3y ago
> I want syntax that will keep people from using collections.namedtuple() just for its attribute API and ignoring/regretting its index API.
The author is proposing a worse dataclass, because they don't want to ignore positional indexing on namedtuple?