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
Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytoml
>>> pytoml.loads('a="\t"')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build\bdist.win-amd64\egg\pytoml\parser.py", line 23, in loads
File "build\bdist.win-amd64\egg\pytoml\parser.py", line 344, in _p_toml
File "build\bdist.win-amd64\egg\pytoml\parser.py", line 124, in expect_eof
File "build\bdist.win-amd64\egg\pytoml\parser.py", line 164, in _expect
pytoml.core.TomlError: <string>(1, 1): msg
Apparently a tab is not allowed in a string, yielding a uninformative error message. Would be nice to see this fixed to prevent others from stumbling over the same message.
The text was updated successfully, but these errors were encountered:
Executing this:
Apparently a tab is not allowed in a string, yielding a uninformative error message. Would be nice to see this fixed to prevent others from stumbling over the same message.
The text was updated successfully, but these errors were encountered: