On Tue, 15 Mar 2022 at 05:37, Christopher Barker <python...@gmail.com> wrote: > > > there has STILL been no answer to the questions of "why not >> >> use namedtuple" and "why not use a dataclass", > > > The OP may not have, but I at least answered why not namedtuple? very early > in the thread > > Chris A: sorry to call you out, you weren't particularly harsh, but I had > expected that you, of all people, might try extra hard to keep a positive > tone in responses to proposals like this. > >> and no sample code provided. > > > Yeah, real genuine use cases would be good.
My apologies. The thread has gotten VERY noisy, and I did miss the fact that you'd said this; partly because the OP has only had arguments like "namedtuples aren't sequences", which are not what I'd call compelling. I still stand by the sentiment that sample code from the OP is more important than someone else's explanation of why namedtuple might not be suitable, but perhaps the OP sees it as an answered question. I've been keeping the tone as positive as possible, but honestly, I don't think this thread has much hope of being productive at this point, and if you hadn't called me out specifically, I would not have responded. ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/HBNI5IEQQ5X4EGKNG5ZSAFBEVGGK4QVQ/ Code of Conduct: http://python.org/psf/codeofconduct/