openwrt-packages/lang/python/python
Jeffery To a0da5aec7f 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>
2020-01-30 18:28:49 +08:00
..
files python,python3: split python[3]-pkg-resources from setuptools 2019-09-20 13:42:40 +03:00
patches python: Fix float byte order detection 2020-01-30 18:28:49 +08:00
patches-setuptools python-setuptools: Add reproducibility patches from Debian 2019-05-24 13:18:09 +08:00
Config-python-light.in python,python3: define config option for bluetooth support 2017-12-10 19:49:23 +02:00
Makefile python: Fix float byte order detection 2020-01-30 18:28:49 +08:00