[Python-ideas] Extension of python/json syntax to support explicitly sets and ordered dict.
Chris Barker - NOAA Federal
chris.barker at noaa.gov
Thu Sep 7 20:49:31 EDT 2017
More information about the Python-ideas mailing list
Thu Sep 7 20:49:31 EDT 2017
- Previous message (by thread): [Python-ideas] Extension of python/json syntax to support explicitly sets and ordered dict.
- Next message (by thread): [Python-ideas] lazy import via __future__ or compiler analysis
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
a json-like format (pyson maybe ?). I gonna pyson is a fine idea. But don't call it extended JSON ;-) For me, the point would be to capture Python' s richer data types. But would you need an OrderedDict? As pointed out, in recent cPython ( and pypy) dicts are ordered by default, but it's not part of the language spec) And you can use ast.literal_eval as a pyson parser, so it's almost ready to use :-) -CHB What do you think about ? Kind regards, Matteo. -- email: nastasi at alternativeoutput.it, matteo.nastasi at gmail.com web: www.alternativeoutput.it irc: #linux-mi at irc.freenode.net linkedin: http://lnkd.in/SPQG87 _______________________________________________ Python-ideas mailing list Python-ideas at python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/ _______________________________________________ Python-ideas mailing list Python-ideas at python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170907/1fb2fb3f/attachment.html>
- Previous message (by thread): [Python-ideas] Extension of python/json syntax to support explicitly sets and ordered dict.
- Next message (by thread): [Python-ideas] lazy import via __future__ or compiler analysis
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list