def abs__file__():
for m in sys.modules.values():<EOL><INDENT>if ((_is_jython and not isinstance(m, ModuleType)) or<EOL>hasattr(m, '<STR_LIT>')):<EOL><INDENT>continue<EOL><DEDENT>f = getattr(m, '<STR_LIT>', None)<EOL>if f is None:<EOL><INDENT>continue<EOL><DEDENT>m.__file__ = os.path.abspath(f)<EOL><DEDENT>
Set all module' __file__ attribute to an absolute path