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
only
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)"
else:
    print("Using Python 2.6 compatibility layer. Some command line options
may not be supported")
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to