diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2020-01-30 18:28:49 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2020-01-30 19:07:37 +0800 |
| commit | a76dd0635c8eac430d70bb1c68315d1b64d98d57 (patch) | |
| tree | 36f815b4dc2f6ee5a301162cdf7aad6faa1ebe20 /lang/python/python3/Makefile | |
| parent | 30d0c2ee0fb5fb1f3439abb3936ca39b5f48b65d (diff) | |
python: Fix float byte order detection
This backports patches from bpo-34585[1] to fix byte order detection of
floats.
Fixing byte order detection allows the repr() of floats to be shorter (a
feature backported to Python 2.7 from Python 3.1[2]).
sys.float_repr_style should be 'short' instead of 'legacy' on supported
platforms.
See #11134.
[1]: https://bugs.python.org/issue34585
[2]: https://docs.python.org/2.7/whatsnew/2.7.html#python-3-1-features
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from a0da5aec7f4ae24feb3c4f2fb3bf3c1c9cb9e639)
Omitted PKG_RELEASE change
Diffstat (limited to 'lang/python/python3/Makefile')
0 files changed, 0 insertions, 0 deletions
