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
The bug is in Tomlkit 0.12
>python -ic "import tomlkit as tk" >>> import sys >>> sys.version_info sys.version_info(major=3, minor=12, micro=1, releaselevel='final', serial=0) >>> tk.__version__ '0.12.0' >>> d = tk.parse('x=-3') >>> for __ in range(12): ... d['x'] *= -1; print(tk.dumps(d)) ... x=+3 x=--3 x=3 x=-3 x=+3 x=--3 x=3 x=-3 x=+3 x=--3 x=3 x=-3
Tomlkit 0.11.8 shows the expected behaviour (in Python 3.11):
>python -ic "import tomlkit as tk" >>> import sys >>> sys.version_info sys.version_info(major=3, minor=11, micro=4, releaselevel='final', serial=0) >>> tk.__version__ '0.11.8' >>> d = tk.parse('x=-3') >>> for __ in range(12): ... d['x'] *= -1; print(tk.dumps(d)) ... x=3 x=-3 x=3 x=-3 x=3 x=-3 x=3 x=-3 x=3 x=-3 x=3 x=-3
Both on Windows 11.
The text was updated successfully, but these errors were encountered:
990e325
No branches or pull requests
The bug is in Tomlkit 0.12
Tomlkit 0.11.8 shows the expected behaviour (in Python 3.11):
Both on Windows 11.
The text was updated successfully, but these errors were encountered: