pytoml
pytoml copied to clipboard
Dotted keys
a.b.c = 1
# Equivalent to:
[a.b]
c = 1
This is a new feature added to what's going to become TOML 1.0: https://github.com/toml-lang/toml/pull/505
Of course, TOML 1.0 is not released yet, and pytoml currently declares itself a TOML 0.4.0 parser. So it's not a bug that this doesn't work. But I hope that we can update pytoml once the new spec version is finalised. :-)
Thanks for the issue! I'm not adding new features anymore, but I accept PRs if you want to take a stab at it.
Thanks, I may do that once 1.0 is official.
This is a part of TOML 0.5 now. :)
@takluyver Do you want to try giving this a shot at implementation?
I'm happy to in principle, but it may be a long time before I get to it, so if anyone else wants to do it, don't wait for me.