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/

Reply via email to