def import_dynamic(modname):
    if sys.version_info >= (3, 3):
        import importlib
        importlib.invalidate_caches()
    __import__(modname)
    return sys.modules[modname]


# From CPython
Returns the current active object being proxied to
dataset/ETHPy150Open numba/numba/numba/tests/support.py/import_dynamic--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/registry.py/StackedObjectProxy._current_obj