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
Current behavior:
>>> toml.dumps({ 'val': 'win32\\path\\x64\\file.txt'}) 'val = "win32\\path\\x64\\\\file.txt"\n' # note the \\\\ after x64
Correct behavior:
toml.dumps({ 'val': 'win32\\path\\x64\\file.txt'}) 'val = "win32\\path\\x64\\file.txt"\n'
I suspect the bug occurs somewhere here: https://github.com/uiri/toml/blob/master/toml/encoder.py#L98
The text was updated successfully, but these errors were encountered:
This dirty fix appears to work, but I'm not 100% sure that it won't break anything else:
#v = v.split("\\x") v = re.split(r'(?<!\\)\\x', v)
Sorry, something went wrong.
Possibly linked with #201
No branches or pull requests
Current behavior:
Correct behavior:
I suspect the bug occurs somewhere here: https://github.com/uiri/toml/blob/master/toml/encoder.py#L98
The text was updated successfully, but these errors were encountered: