On Sun, Oct 17, 2021 at 4:38 PM Steven D'Aprano <steve@pearwood.info> wrote:
Right-o, the old "heterogeneous tuples versus homogeneous lists"
distinction, I remember that from the old 1.5 days. I haven't heard it
mentioned for a long time!

You must not have looked at type annotations then. :-) Type annotations legitimize this, by favoring the syntax list[int] for a homogeneous list versus tuple[int, str, bool] for a heterogeneous tuple. (There's a syntax for a homogeneous tuple too, but it's intentionally slightly longer.) So this rule of thumb is definitely not dead (as you seemed to imply).

--
--Guido van Rossum (python.org/~guido)