aboutsummaryrefslogtreecommitdiffstats
path: root/tabcheck.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-09-02 19:40:17 +0200
committerMichał Górny <mgorny@gentoo.org>2017-09-02 23:37:44 +0200
commit232a45d02e526ac4bdb4c5806432ff4b58d8cdc7 (patch)
treed157a03c4b57183e5c59806602d07b29c6f2ec2a /tabcheck.py
parentconfig/env_blacklist: add DOCS (bug 627106) (diff)
downloadgentoo-portage-232a45d02e526ac4bdb4c5806432ff4b58d8cdc7.tar.xz
gentoo-portage-232a45d02e526ac4bdb4c5806432ff4b58d8cdc7.zip
Do not enable optimizations by default to work-around pycparser issue
dev-python/pycparser-2.18+ exposes a design flaw in dev-python/ply that makes it unable to work with -OO code. Given that Gentoo compiles its Python packages with -OO and both -O and -OO use the same files for Python < 3.5, using -O in Portage implicitly means -OO for those implementations. Remove the optimizations from Portage shebangs to prevent triggering the issue until we find a proper solution for it. Bug: https://bugs.gentoo.org/628386 Reviewed-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'tabcheck.py')
-rwxr-xr-xtabcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tabcheck.py b/tabcheck.py
index 2d45cdeadf7..a28ad93d9d4 100755
--- a/tabcheck.py
+++ b/tabcheck.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -bO
+#!/usr/bin/python -b
import tabnanny,sys