Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix for #45620: "Salt CLI is rounding floats to 2 decimal places" #49187
What does this PR do?
This PR fixes a number representation issue under older Python versions.
What issues does this PR fix or reference?
Numbers were represented with a maximum of 12 digits of precision.
Numbers are represented with the maximum precision.
In python issue https://bugs.python.org/issue9337 it was decided that the artificial limitation to 12 digits should be removed. Therefore starting with Python3.2 it behaves differently (better).