[Distutils] .ini vs JSON vs YAML meta data format (Was: Simplify 426: Deprecate Author-email and Maintainer-email)
anatoly techtonik
techtonik at gmail.com
Sat Apr 27 22:09:21 CEST 2013
On Sat, Apr 27, 2013 at 12:24 PM, Vinay Sajip <vinay_sajip at yahoo.co.uk>wrote:
> anatoly techtonik <techtonik <at> gmail.com> writes:
> > Why reinvent own format when there is already YAML with indented
> sections?
> > Yes, I have to see examples to write in this format, but it is readable
> and
> > familiar across a broad range of products. It is better than JSON at
> least,
> > because it doesn't require to wrap anything in quotes.
>
> I too originally thought YAML might be better, but unfortunately the most
> mature implementation there is (PyYAML) is still not quite ready, as there
> are many open issues around dump() and load(). See for example
>
> http://pyyaml.org/ticket/264
>
> "yaml.load() fails to load a dict just saved by yaml.dump()"
>
This one is huge and requires example to be run to see the actual error. Is
that a minimal example? I don't even have an idea fails there.
> Together with the security issues around YAML (which bit the Rails
> community
> not that long ago) means that JSON is probably a better bet for the moment.
>
Google AppEngine uses it. Ansible uses it. I'd like to know more about that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130427/aa30f0e2/attachment.html>
More information about the Distutils-SIG
mailing list