4 ms·
>Lastly the reason ini over yaml is purely that this can preserve comments and doing the same for yaml is a lot more work i did not have time for :) Was that t
by crdoconnor 11y ago
>Lastly the reason ini over yaml is purely that this can preserve comments and doing the same for yaml is a lot more work i did not have time for :)
Was that the only thing that bothered you about YAML/pyyaml or were there other things you'd like to see fixed?
- the_mitsuhiko 11y agoYAML is really quite complex. I like it in general but it's impossible to dump the data out without destroying the structure of the file (throw away comments, change whitespace, formatting style etc.)
- crdoconnor 11y agoDid you look at https://pypi.python.org/pypi/ruamel.yaml https://pypi.python.org/pypi/ruamel.yaml ?
- the_mitsuhiko 11y agoNope. Did not see it. That's neat though. Would probably have done it differently in that case, but no real reason to switch now.
- pkd 11y agoTOML? It was made because YAML was too complex.