On Jun 7, 2017 5:54 PM, "Erik" <pyt...@lucidity.plus.com> wrote:
On 07/06/17 23:42, C Anthony Risinger wrote: > Neither of these are really comparable to destructuring. > No, but they are comparable to the OP's suggested new built-in method (without requiring each mapping type - not just dicts - to implement it). That was what _I_ was responding to. No worries, I only meant to emphasize that destructuring is much much more powerful and less verbose/duplicative than anything based on functions. It could readily apply/fallback against any object's __dict__ because maps underpin the entire Python object system. -- C Anthony [mobile]
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/