def takes_kargs(function):
    return bool(function.__code__.co_flags & 0x04)
Set the name space for use when calling eval. This needs to contain all the relvant functions for mapping from symbolic python to the numerical python. It also contains variables, cached portions etc.
dataset/ETHPy150Open timothycrosley/hug/hug/introspect.py/takes_kargs--crossover with--dataset/ETHPy150Open SheffieldML/GPy/GPy/core/symbolic.py/Symbolic_core._set_namespace