[Python-Dev] Re: Improvement to SimpleNamespace
Raymond Hettinger ` Chris Angelico ` David Mertz ` Nathaniel Smith ` Guido van Rossum [this message] ` Glenn Linderman ` Cameron Simpson ` Glenn Linderman ` Cameron Simpson ` [Python-Dev] for Glenn Linderman " Cameron Simpson ` [Python-Dev] " Kyle Stanley -- strict thread matches above, loose matches on Subject: below -- Raymond Hettinger ` Serhiy Storchaka ` Eric Snow [Python-Dev] " Raymond Hettinger ` [Python-Dev] " Guido van Rossum ` Kyle Stanley ` Guido van Rossum ` Brett Cannon ` Paul Moore ` Brett Cannon ` David Mertz ` Serhiy Storchaka ` Victor Stinner ` Gregory P. Smith ` Ivan Pozdeev via Python-Dev ` Gregory P. Smith ` Glenn Linderman ` Ivan Pozdeev via Python-Dev ` Glenn Linderman ` Nathaniel Smith ` Rob Cliffe via Python-Dev ` Mike Miller ` Victor Stinner
| From: | Guido van Rossum <guido-AT-python.org> | |
| To: | Raymond Hettinger <raymond.hettinger-AT-gmail.com> | |
| Subject: | [Python-Dev] Re: Improvement to SimpleNamespace | |
| Date: | Tue, 14 Apr 2020 21:25:27 -0700 | |
| Message-ID: | <CAP7+vJKUP-p7KhZDF7Z8O0ad6WvqA3J9=sZ=SDo2DqhDqqq-5Q@mail.gmail.com> | |
| Cc: | "Python-Dev-AT-Python. Org" <python-dev-AT-python.org> |
On Tue, Apr 14, 2020 at 9:08 PM Raymond Hettinger < [email protected]> wrote: > [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)? -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-sin...>
Attachment: None (type=text/html)(HTML attachment elided)
Attachment: None (type=text/plain)_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.... Message archived at https://mail.python.org/archives/list/[email protected]... Code of Conduct: http://python.org/psf/codeofconduct/
