July 30, 2019
2:19 a.m.
On Mon, Jul 29, 2019 at 6:55 PM Ricky Teachey <ricky@teachey.org> wrote: [Steven]
If the core developers don't consider namedtuples important enough to
get syntactic support, I doubt that namespaces will.
[Ricky]
This by itself is pretty convincing.
Except it's wrong. The successor of namedtuple is typing.NamedTuple which supports this syntactically. From the [docs]( https://docs.python.org/3/library/typing.html#typing.NamedTuple): ``` class Employee(NamedTuple): name: str id: int ``` -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him/his **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...>