You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> toml.loads("[x.y]\nz = 'nan'")
Traceback (most recent call last):
File "toml/decoder.py", line 511, in loads
ret = decoder.load_line(line, currentlevel, multikey,
File "toml/decoder.py", line 778, in load_line
value, vtype = self.load_value(pair[1], strictly_valid)
File "toml/decoder.py", line 883, in load_value
self.load_inline_object(v, inline_object)
File "toml/decoder.py", line 677, in load_inline_object
raise ValueError("Invalid inline table value encountered")
ValueError: Invalid inline table value encountered
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "toml/decoder.py", line 514, in loads
raise TomlDecodeError(str(err), original, pos)
toml.decoder.TomlDecodeError: Invalid inline table value encountered (line 2 column 1 char 4)
Whereas I would have expected the same result as in the regular table case.
The text was updated successfully, but these errors were encountered:
In a regular table:
As expected.
But in an inline table:
Whereas I would have expected the same result as in the regular table case.
The text was updated successfully, but these errors were encountered: