On Sat, 12 Mar 2022 at 06:50, wfdc <w...@protonmail.com> wrote:
>
> > You still haven't shown why a namedtuple is wrong for your use-case.
>
> See Christopher Barker's previous reply to you.
>
> Furthermore, namedtuples have *fieldnames*. Tuples have *indices*. Tuples are 
> conceptually more appropriate if we're dealing with what are supposed to be 
> numeric indices into some sequential datastructure, rather than a 
> dictionary-like one.
>

You keep saying this sort of thing, but you haven't shown us what your
use-case actually is, and whether it would actually be more
appropriate for a list instead.

Do all your tuples have the same length?

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/L5BMYZANGKP2FKO2OE3AOJDZEKEOQ4HT/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to