On 4/14/2020 9:25 PM, Guido van Rossum wrote:
On Tue, Apr 14, 2020 at 9:08 PM Raymond Hettinger <[email protected] <mailto:[email protected]>> wrote:I replied in the issue, not noticing the discussion was happening here after getting interrupted with something else. But I use my implementation (uploaded to the issue) for many things besides JSON. Such a feature is just too practical not to be Pythonic.[GvR] > We should not try to import JavaScript's object model into Python. Yes, I get that. Just want to point-out that working with heavily nested dictionaries (typical for JSON) is no fun with square brackets and quotation marks.Yeah, I get that too. So maybe this should be limited to JSON? Could the stdlib json library be made to return objects that support this (maybe with an option)?
_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/IGM424TB3L7FR536PFJZN2IYILGGA6YP/ Code of Conduct: http://python.org/psf/codeofconduct/