[Bug 25744] New: Linux build breaks when both python 2 and python 3 are installed

Bug ID 25744
Summary Linux build breaks when both python 2 and python 3 are installed
Product lldb
Version unspecified
Hardware PC
OS All
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter todd.fiala@gmail.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

I'm not sure if this is new, but when both Python 2 and 3 are installed on
Linux, the readline overload module has code that is not Python-3 compatible. 
(I'm pretty sure I've run python 2/3 systems in the past and not hit this, so
it might have crept in more recently).

I think we want to limit Linux to Python 2.x in the short term.  Later, we can
iron out the Python 3 bits.  An alternative would be to fix up the basic
wrapper code to work on both Python 2 and 3, but that's a bit more involved.  I
prefer to handle that as a lower priority follow up step.

See initial report here:
[https://bugs.swift.org/browse/SR-14](https://bugs.swift.org/browse/SR-14)

I'm still working on getting the exact repro environment, but calling it out
now.