I don't think we're saying anything different, I agree. The point I was making was that _after_ loading the data onto a dataclass (or equivalent), you wouldn't be able to unpack it. In JS, you can use destructuring assignment when working with "classes" (and therefore well-defined APIs), which is why it has wider applicability in JS. _______________________________________________ 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/JBPJJBKUWPPYN2AM3RRC7S4B46XGPX3K/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Mapping unpacking assignment Yurii Karabas
- [Python-ideas] Re: Mapping unpacking assig... Piper Thunstrom
- [Python-ideas] Re: Mapping unpacking a... Yurii Karabas
- [Python-ideas] Mapping unpacking assignmen... Stephen J. Turnbull
- [Python-ideas] Re: Mapping unpacking assig... Steven D'Aprano
- [Python-ideas] Re: Mapping unpacking assig... layday--- via Python-ideas
- [Python-ideas] Re: Mapping unpacking a... Chris Angelico
- [Python-ideas] Re: Mapping unpacki... layday--- via Python-ideas
- [Python-ideas] Re: Mapping unp... Chris Angelico
- [Python-ideas] Re: Mappin... layday--- via Python-ideas
- [Python-ideas] Re: Mapping unpacki... Christopher Barker
- [Python-ideas] Re: Mapping unp... Chris Angelico
- [Python-ideas] Re: Mappin... Christopher Barker
- [Python-ideas] Re: Ma... Chris Angelico
- [Python-ideas] Re... Eric V. Smith
- [Python-ideas] Re... Chris Angelico
- [Python-ideas] Re: Mappin... Matsuoka Takuo
- [Python-ideas] Re: Ma... Chris Angelico