[CentralOH] List in config file

Brian Costlow brian.costlow at gmail.com
Tue Aug 31 22:31:56 CEST 2010


>
> I also tested the json. But unbelievably, python's json implement does not
> support comments in the json file. How can I let my user modify a config
> file without any comments in the example file!
>
>
Comments are not part of the json spec. JavaScript style comments were in an
early draft, but were later removed. So, Python's behavior is correct.

Makes sense, as json was really intended as an over-the-wire protocol, and
not as a conf file format.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/mailman/private/centraloh/attachments/20100831/af48279c/attachment.html>


More information about the CentralOH mailing list