I like this idea! It's true that deprecating the namedtuple we lose important semantics of order - however, if its use as a weaker dataclass is explicitly discouraged in the documentation, then much of the problem (i.e., people that want to have a simple data object use two incompatible things depending on which parts of the the Python doc they read first) simply fades away. _______________________________________________ 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/BMAL7YANAMODLJMDHPB43JIKVAISJFYX/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Re: Why do we have two obvious ways to cre... Chris Angelico
- [Python-ideas] Re: Why do we have two obvious ways to cre... Titus Brown
- [Python-ideas] Re: Why do we have two obvious ways to cre... Paul Bryan
- [Python-ideas] Re: Why do we have two obvious ways t... Chris Angelico
- [Python-ideas] Re: Why do we have two obvious wa... Thomas Grainger
- [Python-ideas] Re: Why do we have two obviou... Jack DeVries
- [Python-ideas] Re: Why do we have two ob... pavel
- [Python-ideas] Re: Why do we have t... Steven D'Aprano
- [Python-ideas] Re: Why do we have two obvious wa... pavel
- [Python-ideas] Re: Why do we have two obviou... Chris Angelico
- [Python-ideas] Re: Why do we have two obviou... Steven D'Aprano
- [Python-ideas] Re: Why do we have two obvious ways t... Eric V. Smith
- [Python-ideas] Re: Why do we have two obvious wa... Thomas Grainger
- [Python-ideas] Re: Why do we have two obvious ways to cre... Joren Hammudoglu
- [Python-ideas] Re: Why do we have two obvious ways t... Chris Angelico