  
import importlib
import pkgutil
__all__ = []
for loader, module_name, is_pkg in  pkgutil.walk_packages(__path__):
    module = importlib.import_module('.'+module_name,package=__name__)
    try: 
        globals().update({k: getattr(module, k) for k in module.__all__})
        __all__ += module.__all__
    except AttributeError: continue
[((5, 36, 5, 67), 'pkgutil.walk_packages', 'pkgutil.walk_packages', ({(5, 58, 5, 66): '__path__'}, {}), '(__path__)', False, 'import pkgutil\n'), ((6, 13, 6, 70), 'importlib.import_module', 'importlib.import_module', (), '', False, 'import importlib\n')]