ž ©ÿf‹c@sVdZddlmZddlmZddlmZddlmZdd„ZdS( u-Utility code for constructing importers, etc.i(umodule_for_loader(u set_loader(u set_package(u _resolve_namecCs||jdƒs|S|s1tdj|ƒƒ‚nd}x(|D] }|dkrTPn|d7}q>Wt||d…||ƒS(u2Resolve a relative module name to an absolute one.u.u,{!r} is not a relative name (no leading dot)iiN(u startswithu ValueErroruformatu _resolve_name(unameupackageulevelu character((u3/opt/alt/python33/lib64/python3.3/importlib/util.pyu resolve_name s   u resolve_nameN(u__doc__u _bootstrapumodule_for_loaderu set_loaderu set_packageu _resolve_nameu resolve_name(((u3/opt/alt/python33/lib64/python3.3/importlib/util.pyus