summaryrefslogtreecommitdiffstats
path: root/package/python/Config.in
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin@gmail.com>2014-02-07 11:16:05 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-02-18 23:09:05 +0100
commitc3d539b53ff0533e91ae849dbdcdd589b0fec0cc (patch)
treef96ffe3bce3229417b4c2fba06b8504a69b7a8d0 /package/python/Config.in
parenta423ec1519dca2ee7e154c483b6b441c928b292e (diff)
downloadbuildroot-c3d539b53ff0533e91ae849dbdcdd589b0fec0cc.tar.gz
buildroot-c3d539b53ff0533e91ae849dbdcdd589b0fec0cc.zip
host python/python3: conditionally disable unicodedata
The host python always had --disable-unicodedata, regardless of the corresponding configuration option BR2_PACKAGE_PYTHON_UNICODEDATA. Since the host python is used to byte-compile python modules, this meant that such modules could not contain unicode strings. For example, following statement in a python module: print u"\N{SOLIDUS}" would cause the byte-compilation to fail with message: SyntaxError: ("(unicode error) \\N escapes not supported (can't load unicodedata module)", Instead, conditionally disable unicodedata based on BR2_PACKAGE_PYTHON_UNICODEDATA, also for the host python. This fixes bug #6542 (https://bugs.busybox.net/show_bug.cgi?id=6542) Reported-by: Gernot Vormayr <gvormayr@gmail.com> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python/Config.in')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud