I've got a toml file like this:
This looks like valid toml to me. However parsing it with the library gives the result:
>>> with open("test.toml") as file:
... x = toml.load(file)
...
>>> x
{'x': ['h']}
It seems the string is just completely cut off after the first character. Changing the string content sometimes results in other cutoffs:
x=["""this is a test
"""]
results in:
I'm using Python 3.6.1 and toml github master on windows.
I've got a toml file like this:
This looks like valid toml to me. However parsing it with the library gives the result:
It seems the string is just completely cut off after the first character. Changing the string content sometimes results in other cutoffs:
results in:
I'm using Python 3.6.1 and toml github master on windows.