Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dotted keys #38

Open
takluyver opened this issue May 29, 2018 · 4 comments
Open

Dotted keys #38

takluyver opened this issue May 29, 2018 · 4 comments

Comments

@takluyver
Copy link

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:
toml-lang/toml#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. :-)

@avakar
Copy link
Owner

avakar commented May 30, 2018

Thanks for the issue! I'm not adding new features anymore, but I accept PRs if you want to take a stab at it.

@takluyver
Copy link
Author

Thanks, I may do that once 1.0 is official.

@pradyunsg
Copy link

This is a part of TOML 0.5 now. :)

@takluyver Do you want to try giving this a shot at implementation?

@takluyver
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants