kumquat-buildroot/package/python
Jérôme Pouiller 2a6001f17a python: fix double format detection
Python is not able to detect if compiler double representation is
compliant with IEE754:

  checking whether C doubles are little-endian IEEE 754 binary64... no
  checking whether C doubles are big-endian IEEE 754 binary64... no
  checking whether C doubles are ARM mixed-endian IEEE 754 binary64... no

Accordingly 'legacy' mode isused. It is possible to check this at
runtime by check if 'sys.float_repr_style' contains 'short' or
'legacy'. Calculus correctness is not garanteed with 'legacy'.

Problem is better described here:

  http://stackoverflow.com/questions/29920294/what-causes-pythons-float-repr-style-to-use-legacy
  https://bugs.python.org/issue7117

However, all gcc architecture use a representation compliant with
IEE754. So, we can enable it unconditionnaly.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
[Thomas: adjust condition to avoid usage of qstrip, suggested by Baruch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-09 21:57:18 +01:00
..
001-remove-host-header-path.patch
002-fix-get-python-inc.patch
004-sysconfigdata-install-location.patch
005-pyc-pyo-conditional.patch
006-cross-compile-getaddrinfo.patch
007-disable-extensions.patch
008-distutils-use-python-sysroot.patch
009-no-termcap-host-path.patch
010-fix-python-config.patch
011-remove-python-symlink.patch
013-dont-add-multiarch-path.patch
014-abort-on-failed-modules.patch
015-fix-sqlite-without-threads.patch
016-serial-ioctl-workaround.patch
017-distutils-scripts-dont-adjust-shebang.patch
018-fix-add-gcc-paths-logic.patch
100-optional-test-modules.patch
101-optional-pydoc.patch
102-optional-2to3.patch
103-optional-sqlite.patch
104-optional-tk.patch
105-optional-curses.patch
106-optional-expat.patch
107-optional-codecs-cjk.patch
108-optional-nis.patch
109-optional-unicodedata.patch
110-optional-db.patch
111-optional-ssl.patch
112-optional-bzip2.patch
113-optional-zlib.patch
114-remove-idle-editor.patch
115-optional-ossaudiodev.patch
Config.in
python.hash
python.mk