diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2020-01-30 19:12:25 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2020-01-30 19:12:25 +0800 |
| commit | ad50eb7c0a3646547f2d02675c99cbdbdb4d0d60 (patch) | |
| tree | f8e8db76e3005518bd8ae1039485c5851013783e /lang/python/python3/Makefile | |
| parent | a76dd0635c8eac430d70bb1c68315d1b64d98d57 (diff) | |
python3: 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[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/3.8/whatsnew/3.1.html#other-language-changes
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python3/Makefile')
| -rw-r--r-- | lang/python/python3/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index f8142ff1c..6296ff7ae 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION) PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO) PKG_NAME:=python3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz |
