def check_compatibility(name):
    """Verify if we can release this component on the running interpreter.

    All components are released from python 2.7 by default unless they specify
    that they are python 3 only, in which case they are released from python 3.6
    """

    comp = comp_names[name]

    if sys.version_info.major < 3 and comp.compat == "python3":
        return False

    if sys.version_info.major >= 3 and comp.compat != "python3":
        return False

    return True
def check_compatibility ( name ) : comp = comp_names [ name ] if sys . version_info . major < 3 and comp . compat == "python3" : return False if sys . version_info . major >= 3 and comp . compat != "python3" : return False return True
Verify if we can release this component on the running interpreter.

    All components are released from python 2.7 by default unless they specify
    that they are python 3 only, in which case they are released from python 3.6