Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix losing float precision for lxml.objectify FloatElement. #191
Use repr() instead of str()/unicode() as 'stringification' function in the
This fixes LP:#1567505.
One of the new test methods doesn't fail when running the updated test suite without the fix (test_type_float_instantiation_precision) applied. This is intentional, creating a FloatElement from a string never lost precision. The test is in for completeness' sake.