[lldb-dev] Does anyone depend on using LLDB with Python 2.6?

Zachary Turner via lldb-dev lldb-dev at lists.llvm.org
Mon Oct 19 12:43:22 PDT 2015

AKA: Is Python 2.6 a supported configuration?  I found this
`argparse_compat.py` file in tests, and it opens with this:

Compatibility module to use the lldb test-suite with Python 2.6.

Warning: This may be buggy. It has not been extensively tested and should
be used when it is impossible to use a newer Python version.
It is also a special-purpose class for lldb's test-suite.

import sys

if sys.version_info >= (2, 7):
    raise "This module shouldn't be used when argparse is available (Python
>= 2.7)"
    print("Using Python 2.6 compatibility layer. Some command line options
may not be supported")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20151019/31d2bb44/attachment.html>

More information about the lldb-dev mailing list