def __getattr__(self, signame):
    assert (type(signame) is str)
    return Signal._registry[signame]
def __getattr__(self, signame):
    assert (type(signame) is str)
    return Signal._registry[signame]