Description
Bug report
Bug description:
In #128005 broken (by downstream patch) build reveal some problems in the CPython test suite. Except for few explicitly marked tests, other don't care about different repr() behavior for floats. Many tests fail when interpreter built with _PY_SHORT_FLOAT_REPR
set to 0: #128005 (comment)
Currently we don't test platforms with sys.float_repr_style == "legacy"
. Maybe we should? At least this define can be explicitly set by some configure option and we could test such build.
Then failed tests either should be fixed (by using floats, having exact decimal representation, like 1.25). Or just xfailed out with suitable decorator.
Is this worth?
BTW, as mentioned by Victor Stinner, all PEP 11 platforms support the floatting point "short" format.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response