packages/lang/python/python/patches
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
..
001-enable-zlib.patch python: Refresh patches 2019-03-08 18:48:45 -08:00
002-do-not-add-include-dirs-when-cross-compiling.patch python: Update to 2.7.17, refresh patches 2019-10-21 23:30:53 +08:00
003-do-not-compile-tests-at-build.patch python: Update to 2.7.17, refresh patches 2019-10-21 23:30:53 +08:00
004-do-not-write-bytes-codes.patch python: Update to 2.7.17, refresh patches 2019-10-21 23:30:53 +08:00
005-fix-bluetooth-support.patch python: Refresh patches 2019-03-08 18:48:45 -08:00
006-remove-multi-arch-and-local-paths.patch python: Update to 2.7.17, refresh patches 2019-10-21 23:30:53 +08:00
007-distutils-do-not-adjust-path.patch python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
008-distutils-use-python-sysroot.patch python: refresh patches make package/python/refresh cmd 2017-07-26 23:56:14 +03:00
009-do-not-use-dblib_dir-when-cross-compiling.patch python: Update to 2.7.17, refresh patches 2019-10-21 23:30:53 +08:00
010-do-not-add-rt-lib-dirs-when-cross-compiling.patch python: Update to 2.7.17, refresh patches 2019-10-21 23:30:53 +08:00
012-add-support-source-date-epoch-pyc.patch python: update to version 2.7.15 2018-05-03 14:46:12 +03:00
013-getbuildinfo-date-time-source-date-epoch.patch python: update to version 2.7.15 2018-05-03 14:46:12 +03:00
021-compileall-add-recursion-option.patch python: Update to 2.7.17, refresh patches 2019-10-21 23:30:53 +08:00
024-musl-find_library.patch python,python3: Fix ctypes.util.find_library() 2019-07-22 04:42:54 +08:00
025-utime.patch python: Replace utime with utimes 2019-07-30 23:44:43 -07:00
026-bpo-34585-Dont-do-runtime-test-to-get-float-byte-order-GH-9085.patch python: Fix float byte order detection 2020-01-30 18:28:49 +08:00
027-bpo-34585-run-autoconf-GH-9411-edited.patch python: Fix float byte order detection 2020-01-30 18:28:49 +08:00