We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Via sarugaku/plette#9.
>>> import tomlkit >>> s = """ ... [foo] ... value = false ... """ >>> tomlkit.parse(s) == {'foo': {'value': False}} # This works correctly. True >>> tomlkit.parse(s)['foo'] == {'value': False} # This does not. False
At a quick glance, tomlkit.items.Bool seems to be the problem here.
tomlkit.items.Bool
>>> d = tomlkit.parse(s) >>> d {'foo': [{'value': False}]} >>> d['foo'] {'value': <tomlkit.items.Bool object at 0x10c9ac780>}
The text was updated successfully, but these errors were encountered:
I just stumbled upon the exact same bug. This really is a big problem.
@uranusjr have you encountered any issue with your fix #57 so far?
Sorry, something went wrong.
This was fixed
Successfully merging a pull request may close this issue.
Via sarugaku/plette#9.
At a quick glance,
tomlkit.items.Bool
seems to be the problem here.The text was updated successfully, but these errors were encountered: